Unordered: Use container's allocator_traits for old Visual C++.

[SVN r77017]
This commit is contained in:
Daniel James
2012-02-14 23:55:09 +00:00
parent 08230efb44
commit 8a1a475c58
3 changed files with 23 additions and 5 deletions

View File

@@ -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