• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  // Copyright Thomas Witt 2003.
2  // Distributed under the Boost Software License, Version 1.0. (See
3  // accompanying file LICENSE_1_0.txt or copy at
4  // http://www.boost.org/LICENSE_1_0.txt)
5  #include <boost/iterator/indirect_iterator.hpp>
6  #include <boost/iterator/reverse_iterator.hpp>
7  #include <boost/concept_check.hpp>
8  #include <boost/cstdlib.hpp>
9  #include <list>
10  
main()11  int main()
12  {
13    {
14      typedef boost::reverse_iterator<std::list<int*>::iterator>   rev_iter;
15      typedef boost::indirect_iterator<std::list<int*>::iterator>  ind_iter;
16  
17      ind_iter() == rev_iter();
18    }
19  
20    return boost::exit_success;
21  }
22