diff --git a/include/boost/container/allocator_traits.hpp b/include/boost/container/allocator_traits.hpp index b515af6..e6a882e 100644 --- a/include/boost/container/allocator_traits.hpp +++ b/include/boost/container/allocator_traits.hpp @@ -77,6 +77,9 @@ namespace container { #ifndef BOOST_CONTAINER_DOXYGEN_INVOKED +template +class small_vector_allocator; + namespace allocator_traits_detail { BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_max_size, max_size) @@ -96,6 +99,10 @@ template struct is_std_allocator< std::allocator > { static const bool value = true; }; +template +struct is_std_allocator< small_vector_allocator< std::allocator > > +{ static const bool value = true; }; + template struct is_not_std_allocator { static const bool value = !is_std_allocator::value; };