forked from boostorg/iterator
new file
[SVN r22018]
This commit is contained in:
15
test/lvalue_concept_fail_expected.cpp
Normal file
15
test/lvalue_concept_fail_expected.cpp
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#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;
|
||||||
|
}
|
Reference in New Issue
Block a user