scoped_allocator_fwd.hpp 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // (C) Copyright Ion Gaztanaga 2015-2015. Distributed under the Boost
  4. // Software License, Version 1.0. (See accompanying file
  5. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. // See http://www.boost.org/libs/container for documentation.
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. #ifndef BOOST_CONTAINER_ALLOCATOR_SCOPED_ALLOCATOR_FWD_HPP
  11. #define BOOST_CONTAINER_ALLOCATOR_SCOPED_ALLOCATOR_FWD_HPP
  12. //! \file
  13. //! This header file forward declares boost::container::scoped_allocator_adaptor
  14. #ifndef BOOST_CONFIG_HPP
  15. # include <boost/config.hpp>
  16. #endif
  17. #if defined(BOOST_HAS_PRAGMA_ONCE)
  18. # pragma once
  19. #endif
  20. #include <boost/container/detail/config_begin.hpp>
  21. #include <boost/container/detail/workaround.hpp>
  22. #include <boost/container/detail/std_fwd.hpp>
  23. #include <boost/container/uses_allocator_fwd.hpp>
  24. #if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
  25. #include <boost/move/detail/fwd_macros.hpp>
  26. #endif
  27. namespace boost { namespace container {
  28. #ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
  29. #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
  30. #if !defined(BOOST_CONTAINER_UNIMPLEMENTED_PACK_EXPANSION_TO_FIXED_LIST)
  31. template <typename OuterAlloc, typename ...InnerAllocs>
  32. class scoped_allocator_adaptor;
  33. #else // #if !defined(BOOST_CONTAINER_UNIMPLEMENTED_PACK_EXPANSION_TO_FIXED_LIST)
  34. template <typename ...InnerAllocs>
  35. class scoped_allocator_adaptor;
  36. template <typename OuterAlloc, typename ...InnerAllocs>
  37. class scoped_allocator_adaptor<OuterAlloc, InnerAllocs...>;
  38. #endif // #if !defined(BOOST_CONTAINER_UNIMPLEMENTED_PACK_EXPANSION_TO_FIXED_LIST)
  39. #else // #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
  40. template <typename OuterAlloc, BOOST_MOVE_CLASSDFLT9>
  41. class scoped_allocator_adaptor;
  42. #endif
  43. #else //BOOST_CONTAINER_DOXYGEN_INVOKED
  44. #endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
  45. }} // namespace boost { namespace container {
  46. #include <boost/container/detail/config_end.hpp>
  47. #endif // BOOST_CONTAINER_ALLOCATOR_SCOPED_ALLOCATOR_FWD_HPP