diff --git a/include/boost/detail/allocator_utilities.hpp b/include/boost/detail/allocator_utilities.hpp index ed3de84..868d712 100644 --- a/include/boost/detail/allocator_utilities.hpp +++ b/include/boost/detail/allocator_utilities.hpp @@ -121,8 +121,13 @@ struct rebinder template struct result { +#ifdef BOOST_NO_CXX11_ALLOCATOR typedef typename Allocator::BOOST_NESTED_TEMPLATE rebind::other other; +#else + typedef typename std::allocator_traits::BOOST_NESTED_TEMPLATE + rebind_alloc other; +#endif }; };