From f8543d79eb7535f500e1f00aea08bd9e431c147c Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Thu, 8 Mar 2001 20:02:00 +0000 Subject: [PATCH] added more static asserts [SVN r9500] --- iter_traits_gen_test.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/iter_traits_gen_test.cpp b/iter_traits_gen_test.cpp index a53354f..b0330a2 100644 --- a/iter_traits_gen_test.cpp +++ b/iter_traits_gen_test.cpp @@ -29,9 +29,13 @@ main() boost::iterator_traits_generator ::reference ::iterator_category > iter_type; - - BOOST_STATIC_ASSERT((boost::is_same::value)); - + + BOOST_STATIC_ASSERT((boost::is_same::value)); + + BOOST_STATIC_ASSERT(( ! boost::is_convertible::value)); + iter_type i(mi); boost::input_iterator_test(i, dummyT(0), dummyT(1)); }