mirror of
https://github.com/boostorg/utility.git
synced 2025-08-06 08:14:35 +02:00
add missing "typename"
[SVN r9005]
This commit is contained in:
@@ -45,13 +45,13 @@ struct non_portable_tests
|
|||||||
// Unfortunately, the VC6 standard library doesn't supply these :(
|
// Unfortunately, the VC6 standard library doesn't supply these :(
|
||||||
BOOST_STATIC_ASSERT((
|
BOOST_STATIC_ASSERT((
|
||||||
boost::is_same<
|
boost::is_same<
|
||||||
boost::detail::iterator_traits<Iterator>::pointer,
|
typename boost::detail::iterator_traits<Iterator>::pointer,
|
||||||
pointer
|
pointer
|
||||||
>::value));
|
>::value));
|
||||||
|
|
||||||
BOOST_STATIC_ASSERT((
|
BOOST_STATIC_ASSERT((
|
||||||
boost::is_same<
|
boost::is_same<
|
||||||
boost::detail::iterator_traits<Iterator>::reference,
|
typename boost::detail::iterator_traits<Iterator>::reference,
|
||||||
reference
|
reference
|
||||||
>::value));
|
>::value));
|
||||||
};
|
};
|
||||||
@@ -62,13 +62,13 @@ struct portable_tests
|
|||||||
{
|
{
|
||||||
BOOST_STATIC_ASSERT((
|
BOOST_STATIC_ASSERT((
|
||||||
boost::is_same<
|
boost::is_same<
|
||||||
boost::detail::iterator_traits<Iterator>::difference_type,
|
typename boost::detail::iterator_traits<Iterator>::difference_type,
|
||||||
difference_type
|
difference_type
|
||||||
>::value));
|
>::value));
|
||||||
|
|
||||||
BOOST_STATIC_ASSERT((
|
BOOST_STATIC_ASSERT((
|
||||||
boost::is_same<
|
boost::is_same<
|
||||||
boost::detail::iterator_traits<Iterator>::iterator_category,
|
typename boost::detail::iterator_traits<Iterator>::iterator_category,
|
||||||
category
|
category
|
||||||
>::value));
|
>::value));
|
||||||
};
|
};
|
||||||
@@ -81,7 +81,7 @@ struct input_iterator_test
|
|||||||
{
|
{
|
||||||
BOOST_STATIC_ASSERT((
|
BOOST_STATIC_ASSERT((
|
||||||
boost::is_same<
|
boost::is_same<
|
||||||
boost::detail::iterator_traits<Iterator>::value_type,
|
typename boost::detail::iterator_traits<Iterator>::value_type,
|
||||||
value_type
|
value_type
|
||||||
>::value));
|
>::value));
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user