mirror of
https://github.com/boostorg/iterator.git
synced 2026-01-31 02:19:21 +01:00
Added failure checks.
[SVN r754]
This commit is contained in:
16
test/interoperable_fail.cpp
Normal file
16
test/interoperable_fail.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include <boost/iterator/iterator_adaptors.hpp>
|
||||
#include <boost/concept_check.hpp>
|
||||
#include <boost/cstdlib.hpp>
|
||||
#include <list>
|
||||
|
||||
int main()
|
||||
{
|
||||
{
|
||||
typedef boost::reverse_iterator<std::list<int*>::iterator> rev_iter;
|
||||
typedef boost::indirect_iterator<std::list<int*>::iterator> ind_iter;
|
||||
|
||||
ind_iter() == rev_iter();
|
||||
}
|
||||
|
||||
return boost::exit_success;
|
||||
}
|
||||
Reference in New Issue
Block a user