diff --git a/iterator_adaptor_test.cpp b/iterator_adaptor_test.cpp index c1661fe..23bace0 100644 --- a/iterator_adaptor_test.cpp +++ b/iterator_adaptor_test.cpp @@ -102,6 +102,8 @@ typedef std::set iterator_set; template struct foo; +void blah(int) { } + int main() { @@ -136,11 +138,18 @@ main() } { // Test computation of default when the Value is const - typedef boost::iterator_adaptor > Iter1; BOOST_STATIC_ASSERT((boost::is_same::value)); +#ifdef __BORLANDC__ + // This is a bug + BOOST_STATIC_ASSERT((boost::is_same::value)); + BOOST_STATIC_ASSERT((boost::is_same::value)); +#else BOOST_STATIC_ASSERT((boost::is_same::value)); BOOST_STATIC_ASSERT((boost::is_same::value)); +#endif } { // Test with no defaults