1 // Copyright (C) 2004 Jeremy Siek <jsiek@cs.indiana.edu> 2 // Distributed under the Boost Software License, Version 1.0. (See 3 // accompanying file LICENSE_1_0.txt or copy at 4 // http://www.boost.org/LICENSE_1_0.txt) 5 6 #include <boost/iterator/iterator_concepts.hpp> 7 #include <boost/iterator/iterator_archetypes.hpp> 8 #include <boost/cstdlib.hpp> 9 main()10int main() 11 { 12 typedef boost::iterator_archetype< 13 int 14 , boost::iterator_archetypes::readable_iterator_t 15 , boost::single_pass_traversal_tag 16 > Iter; 17 boost::function_requires< 18 boost_concepts::LvalueIteratorConcept<Iter> >(); 19 return boost::exit_success; 20 } 21