diff --git a/include/boost/core/allocator_access.hpp b/include/boost/core/allocator_access.hpp index 5caba94..1fee1e6 100644 --- a/include/boost/core/allocator_access.hpp +++ b/include/boost/core/allocator_access.hpp @@ -47,7 +47,7 @@ namespace detail { template struct alloc_ptr { - typedef typename allocator_value_type::type* type; + typedef typename boost::allocator_value_type::type* type; }; template @@ -80,8 +80,8 @@ namespace detail { template struct alloc_const_ptr { typedef typename boost::pointer_traits::type>::template - rebind_to::type type; + boost::allocator_pointer::type>::template rebind_to::type>::type type; }; template @@ -399,8 +399,9 @@ template class alloc_has_allocate { template static auto check(int) -> decltype(std::declval().allocate( - std::declval::type>(), - std::declval::type>())); + std::declval::type>(), + std::declval::type>())); template static alloc_none check(long);