How familiar are you with C ++ iterators? They are designed to look very similar to pointers, so given the iterator it:
++it
will increment the iterator (go to the next element)
*it
( , )
--it
( ) ( )
++ , . , , , , HasNext , , , , . (, , , ).
, typedefs , .
- Boost.Iterator iterator_facade, . , , , .
Boost , . std::iterator, (, , ), )
, , . ( Boost, , ). , , .