From 35b3770b6f97ac54bacdb8a0277cb2f5baff69df Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Tue, 6 Nov 2001 16:05:25 +0000 Subject: [PATCH] *** empty log message *** [SVN r11613] --- iterator_adaptor_test.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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)); }