mirror of
https://github.com/boostorg/iterator.git
synced 2025-10-04 21:20:56 +02:00
17 lines
364 B
C++
17 lines
364 B
C++
#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;
|
|
}
|