forked from boostorg/iterator
16 lines
412 B
C++
16 lines
412 B
C++
![]() |
#include <boost/iterator/iterator_concepts.hpp>
|
||
|
#include <boost/iterator/iterator_archetypes.hpp>
|
||
|
#include <boost/cstdlib.hpp>
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
typedef boost::iterator_archetype<
|
||
|
int
|
||
|
, boost::iterator_archetypes::readable_iterator_t
|
||
|
, boost::single_pass_traversal_tag
|
||
|
> Iter;
|
||
|
boost::function_requires<
|
||
|
boost_concepts::LvalueIteratorConcept<Iter> >();
|
||
|
return boost::exit_success;
|
||
|
}
|