diff --git a/test/iterator_pair.cpp b/test/iterator_pair.cpp index ba13d75..7b615a9 100644 --- a/test/iterator_pair.cpp +++ b/test/iterator_pair.cpp @@ -22,6 +22,8 @@ #include #include #include +#include +#include void check_iterator_pair() { @@ -39,23 +41,23 @@ void check_iterator_pair() BOOST_STATIC_ASSERT(( boost::is_same< boost::range_value::type, - boost::detail::iterator_traits::value_type>::value )); + std::iterator_traits::value_type>::value )); BOOST_STATIC_ASSERT(( boost::is_same< boost::range_iterator::type, pair_t::first_type >::value )); BOOST_STATIC_ASSERT(( boost::is_same< boost::range_const_iterator::type, pair_t::first_type >::value )); BOOST_STATIC_ASSERT(( boost::is_same< boost::range_difference::type, - boost::detail::iterator_traits::difference_type >::value )); + std::iterator_traits::difference_type >::value )); BOOST_STATIC_ASSERT(( boost::is_same< boost::range_size::type, std::size_t >::value )); BOOST_STATIC_ASSERT(( boost::is_same< boost::range_iterator::type, pair_t::first_type >::value )); BOOST_STATIC_ASSERT(( boost::is_same< boost::range_iterator::type, const_pair_t::first_type >::value )); BOOST_STATIC_ASSERT(( boost::is_same< boost::range_value::type, - boost::detail::iterator_traits::value_type>::value )); + std::iterator_traits::value_type>::value )); BOOST_STATIC_ASSERT(( boost::is_same< boost::range_iterator::type, const_pair_tt::first_type >::value )); // // This behavior is not supported with v2. //BOOST_STATIC_ASSERT(( is_same< range_const_iterator::type, const_pair_tt::first_type >::value )); BOOST_STATIC_ASSERT(( boost::is_same< boost::range_difference::type, - boost::detail::iterator_traits::difference_type >::value )); + std::iterator_traits::difference_type >::value )); BOOST_STATIC_ASSERT(( boost::is_same< boost::range_size::type, std::size_t >::value )); BOOST_STATIC_ASSERT(( boost::is_same< boost::range_iterator::type, const_pair_tt::first_type >::value )); BOOST_STATIC_ASSERT(( boost::is_same< boost::range_iterator::type, const_pair_tt::first_type >::value ));