forked from boostorg/unordered
Unordered: Use container's allocator_traits for old Visual C++.
[SVN r77017]
This commit is contained in:
@@ -52,7 +52,7 @@ void test_simple_allocator()
|
||||
|
||||
BOOST_MPL_ASSERT((boost::is_same<typename traits::difference_type, std::ptrdiff_t>));
|
||||
|
||||
#if BOOST_UNORDERED_USE_ALLOCATOR_TRAITS
|
||||
#if BOOST_UNORDERED_USE_ALLOCATOR_TRAITS == 1
|
||||
BOOST_MPL_ASSERT((boost::is_same<typename traits::size_type,
|
||||
std::make_unsigned<std::ptrdiff_t>::type>));
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user