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 11 #ifndef BOOST_CONTAINER_ALLOCATOR_SCOPED_ALLOCATOR_FWD_HPP 12 #define BOOST_CONTAINER_ALLOCATOR_SCOPED_ALLOCATOR_FWD_HPP 13 14 //! \file 15 //! This header file forward declares boost::container::scoped_allocator_adaptor 16 17 #ifndef BOOST_CONFIG_HPP 18 # include <boost/config.hpp> 19 #endif 20 21 #if defined(BOOST_HAS_PRAGMA_ONCE) 22 # pragma once 23 #endif 24 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> 29 30 #if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) 31 #include <boost/move/detail/fwd_macros.hpp> 32 #endif 33 34 namespace boost { namespace container { 35 36 #ifndef BOOST_CONTAINER_DOXYGEN_INVOKED 37 38 #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) 39 40 #if !defined(BOOST_CONTAINER_UNIMPLEMENTED_PACK_EXPANSION_TO_FIXED_LIST) 41 42 template <typename OuterAlloc, typename ...InnerAllocs> 43 class scoped_allocator_adaptor; 44 45 #else // #if !defined(BOOST_CONTAINER_UNIMPLEMENTED_PACK_EXPANSION_TO_FIXED_LIST) 46 47 template <typename ...InnerAllocs> 48 class scoped_allocator_adaptor; 49 50 template <typename OuterAlloc, typename ...InnerAllocs> 51 class scoped_allocator_adaptor<OuterAlloc, InnerAllocs...>; 52 53 #endif // #if !defined(BOOST_CONTAINER_UNIMPLEMENTED_PACK_EXPANSION_TO_FIXED_LIST) 54 55 #else // #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) 56 57 template <typename OuterAlloc, BOOST_MOVE_CLASSDFLT9> 58 class scoped_allocator_adaptor; 59 60 #endif 61 62 63 #else //BOOST_CONTAINER_DOXYGEN_INVOKED 64 65 #endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED 66 67 }} // namespace boost { namespace container { 68 69 #include <boost/container/detail/config_end.hpp> 70 71 #endif // BOOST_CONTAINER_ALLOCATOR_SCOPED_ALLOCATOR_FWD_HPP 72