From 5b9d20c7e212833d63e161e09a2bdbe51fd6e9ee Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Tue, 6 Nov 2001 15:52:56 +0000 Subject: [PATCH] *** empty log message *** [SVN r11611] --- iterator_adaptor_test.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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