mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-09 23:23:54 +00:00
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;
|
|
}
|