mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 20:04:29 +02:00
Unordered: Remove unnecessary typename
.
Oddly, newer versions of gcc don't complain about it. [SVN r77043]
This commit is contained in:
@@ -129,10 +129,10 @@ void test_allocator1()
|
|||||||
typedef allocator1<int> allocator;
|
typedef allocator1<int> allocator;
|
||||||
typedef boost::unordered::detail::allocator_traits<allocator> traits;
|
typedef boost::unordered::detail::allocator_traits<allocator> traits;
|
||||||
#if BOOST_UNORDERED_USE_ALLOCATOR_TRAITS == 1
|
#if BOOST_UNORDERED_USE_ALLOCATOR_TRAITS == 1
|
||||||
BOOST_MPL_ASSERT((boost::is_same<typename traits::size_type,
|
BOOST_MPL_ASSERT((boost::is_same<traits::size_type,
|
||||||
std::make_unsigned<std::ptrdiff_t>::type>));
|
std::make_unsigned<std::ptrdiff_t>::type>));
|
||||||
#else
|
#else
|
||||||
BOOST_MPL_ASSERT((boost::is_same<typename traits::size_type, std::size_t>));
|
BOOST_MPL_ASSERT((boost::is_same<traits::size_type, std::size_t>));
|
||||||
#endif
|
#endif
|
||||||
BOOST_MPL_ASSERT((boost::is_same<traits::difference_type, std::ptrdiff_t>));
|
BOOST_MPL_ASSERT((boost::is_same<traits::difference_type, std::ptrdiff_t>));
|
||||||
BOOST_MPL_ASSERT((boost::is_same<traits::pointer, int*>));
|
BOOST_MPL_ASSERT((boost::is_same<traits::pointer, int*>));
|
||||||
|
Reference in New Issue
Block a user