diff --git a/include/boost/iterator/iterator_adaptor.hpp b/include/boost/iterator/iterator_adaptor.hpp index ae033b8..0778fce 100644 --- a/include/boost/iterator/iterator_adaptor.hpp +++ b/include/boost/iterator/iterator_adaptor.hpp @@ -204,7 +204,6 @@ namespace boost > type; }; - template int static_assert_convertible_to(T); } // @@ -302,8 +301,7 @@ namespace boost >::type my_traversal; # define BOOST_ITERATOR_ADAPTOR_ASSERT_TRAVERSAL(cat) \ - typedef int assertion[sizeof(detail::static_assert_convertible_to(my_traversal()))]; -// BOOST_STATIC_ASSERT((is_convertible::value)); + BOOST_STATIC_ASSERT((is_convertible::value)); void advance(typename super_t::difference_type n) {