namespace container { #ifndef BOOST_CONTAINER_DOXYGEN_INVOKED template <int Dummy = 0> struct std_allocator_arg_holder { static ::std::allocator_arg_t *dummy; }; template <int Dummy> //Silence null-reference compiler warnings ::std::allocator_arg_t *std_allocator_arg_holder<Dummy>::dummy = reinterpret_cast< ::std::allocator_arg_t * >(0x1234); typedef const std::allocator_arg_t & allocator_arg_t; #else //! The allocator_arg_t struct is an empty structure type used as a unique type to //! disambiguate constructor and function overloading. Specifically, several types //! have constructors with allocator_arg_t as the first argument, immediately followed //! by an argument of a type that satisfies Allocator requirements typedef unspecified allocator_arg_t; #endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED //! The `erased_type` struct is an empty struct that serves as a placeholder for a type //! T in situations where the actual type T is determined at runtime. For example, //! the nested type, `allocator_type`, is an alias for `erased_type` in classes that //! use type-erased allocators. struct erased_type {}; //! A instance of type //! allocator_arg_t static allocator_arg_t allocator_arg = BOOST_CONTAINER_DOC1ST(unspecified, *std_allocator_arg_holder<>::dummy); // @cond template <class T> struct constructible_with_allocator_suffix; template <class T> struct constructible_with_allocator_prefix; template <typename T, typename Allocator> struct uses_allocator; // @endcond }} // namespace boost { namespace container {
typedef const std::piecewise_construct_t & piecewise_construct_t; struct try_emplace_t{}; #else //! The piecewise_construct_t struct is an empty structure type used as a unique type to //! disambiguate used to disambiguate between different functions that take two tuple arguments. typedef unspecified piecewise_construct_t; #endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED //! A instance of type //! piecewise_construct_t static piecewise_construct_t piecewise_construct = BOOST_CONTAINER_DOC1ST(unspecified, *std_piecewise_construct_holder<>::dummy); namespace container_detail { template <class T1, class T2> struct pair; template <class T> struct is_pair { static const bool value = false; }; template <class T1, class T2> struct is_pair< pair<T1, T2> > {
namespace boost { namespace container { #ifndef BOOST_CONTAINER_DOXYGEN_INVOKED #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) #if !defined(BOOST_CONTAINER_UNIMPLEMENTED_PACK_EXPANSION_TO_FIXED_LIST) template <typename OuterAlloc, typename ...InnerAllocs> class scoped_allocator_adaptor; #else // #if !defined(BOOST_CONTAINER_UNIMPLEMENTED_PACK_EXPANSION_TO_FIXED_LIST) template <typename ...InnerAllocs> class scoped_allocator_adaptor; template <typename OuterAlloc, typename ...InnerAllocs> class scoped_allocator_adaptor<OuterAlloc, InnerAllocs...>; #endif // #if !defined(BOOST_CONTAINER_UNIMPLEMENTED_PACK_EXPANSION_TO_FIXED_LIST) #else // #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) template <typename OuterAlloc, BOOST_MOVE_CLASSDFLT9> class scoped_allocator_adaptor; #endif template <int Dummy = 0> struct std_allocator_arg_holder { static ::std::allocator_arg_t *dummy; }; template <int Dummy> ::std::allocator_arg_t *std_allocator_arg_holder<Dummy>::dummy; #else //BOOST_CONTAINER_DOXYGEN_INVOKED #endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED //! The allocator_arg_t struct is an empty structure type used as a unique type to //! disambiguate constructor and function overloading. Specifically, several types //! have constructors with allocator_arg_t as the first argument, immediately followed //! by an argument of a type that satisfies Allocator requirements typedef const std::allocator_arg_t & allocator_arg_t; //! A instance of type allocator_arg_t //! static allocator_arg_t allocator_arg = BOOST_CONTAINER_DOC1ST(unspecified, *std_allocator_arg_holder<>::dummy); template <class T> struct constructible_with_allocator_suffix; template <class T> struct constructible_with_allocator_prefix; template <typename T, typename Allocator> struct uses_allocator; }} // namespace boost { namespace container {