From 6b77e7f8bd51564ff00f5940b0510ec9149fbe99 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Tue, 13 Jan 2004 19:02:19 +0000 Subject: [PATCH] added that Interoperable Iterator refines Single Pass Iterator [SVN r21694] --- include/boost/iterator/iterator_concepts.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/boost/iterator/iterator_concepts.hpp b/include/boost/iterator/iterator_concepts.hpp index a8ca1ee..aadb43b 100644 --- a/include/boost/iterator/iterator_concepts.hpp +++ b/include/boost/iterator/iterator_concepts.hpp @@ -354,6 +354,9 @@ namespace detail void constraints() { + boost::function_requires< SinglePassIteratorConcept >(); + boost::function_requires< SinglePassIteratorConcept >(); + BOOST_STATIC_ASSERT( (boost::is_same< difference_type, const_difference_type>::value) );