1 //////////////////////////////////////////////////////////////////////////////
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)
7 // See http://www.boost.org/libs/container for documentation.
9 //////////////////////////////////////////////////////////////////////////////
11 #ifndef BOOST_CONTAINER_ALLOCATOR_SCOPED_ALLOCATOR_FWD_HPP
12 #define BOOST_CONTAINER_ALLOCATOR_SCOPED_ALLOCATOR_FWD_HPP
15 //! This header file forward declares boost::container::scoped_allocator_adaptor
17 #ifndef BOOST_CONFIG_HPP
18 # include <boost/config.hpp>
21 #if defined(BOOST_HAS_PRAGMA_ONCE)
25 #include <boost/container/detail/config_begin.hpp>
26 #include <boost/container/detail/workaround.hpp>
27 #include <boost/container/detail/std_fwd.hpp>
28 #include <boost/container/uses_allocator_fwd.hpp>
30 #if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
31 #include <boost/move/detail/fwd_macros.hpp>
34 namespace boost { namespace container {
36 #ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
38 #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
40 #if !defined(BOOST_CONTAINER_UNIMPLEMENTED_PACK_EXPANSION_TO_FIXED_LIST)
42 template <typename OuterAlloc, typename ...InnerAllocs>
43 class scoped_allocator_adaptor;
45 #else // #if !defined(BOOST_CONTAINER_UNIMPLEMENTED_PACK_EXPANSION_TO_FIXED_LIST)
47 template <typename ...InnerAllocs>
48 class scoped_allocator_adaptor;
50 template <typename OuterAlloc, typename ...InnerAllocs>
51 class scoped_allocator_adaptor<OuterAlloc, InnerAllocs...>;
53 #endif // #if !defined(BOOST_CONTAINER_UNIMPLEMENTED_PACK_EXPANSION_TO_FIXED_LIST)
55 #else // #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
57 template <typename OuterAlloc, BOOST_MOVE_CLASSDFLT9>
58 class scoped_allocator_adaptor;
63 #else //BOOST_CONTAINER_DOXYGEN_INVOKED
65 #endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
67 }} // namespace boost { namespace container {
69 #include <boost/container/detail/config_end.hpp>
71 #endif // BOOST_CONTAINER_ALLOCATOR_SCOPED_ALLOCATOR_FWD_HPP