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

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

No files matched your search

+1 -1
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