diff --git a/iterator_adaptor_test.cpp b/iterator_adaptor_test.cpp index 23bace0..c594e3f 100644 --- a/iterator_adaptor_test.cpp +++ b/iterator_adaptor_test.cpp @@ -59,6 +59,7 @@ #include #include #include +#include struct my_iterator_tag : public std::random_access_iterator_tag { }; @@ -138,12 +139,12 @@ main() } { // Test computation of default when the Value is const - typedef boost::iterator_adaptor::iterator, boost::default_iterator_policies, boost::value_type_is > Iter1; BOOST_STATIC_ASSERT((boost::is_same::value)); #ifdef __BORLANDC__ - // This is a bug + // This is a bug... BOOST_STATIC_ASSERT((boost::is_same::value)); BOOST_STATIC_ASSERT((boost::is_same::value)); #else @@ -155,14 +156,14 @@ main() // Test with no defaults typedef boost::iterator_adaptor, - boost::pointer_is, + boost::pointer_is, boost::value_type_is, boost::iterator_category_is, boost::difference_type_is > Iter1; BOOST_STATIC_ASSERT((boost::is_same::value)); BOOST_STATIC_ASSERT((boost::is_same::value)); - BOOST_STATIC_ASSERT((boost::is_same::value)); + BOOST_STATIC_ASSERT((boost::is_same::value)); BOOST_STATIC_ASSERT((boost::is_same::value)); BOOST_STATIC_ASSERT((boost::is_same::value)); }