C++ Language/Std/Stl/Iterators/ReverseIterators

From Wikibooks, open books for an open world
< C++ Language‎ | Std‎ | Stl‎ | Iterators
Jump to navigation Jump to search

Similar to an insert-iterator, a "reverse-iterator" allows you to use STL's existing std::copy() algorithm, but changes the effect that it has because of intermediary code that re-defines the iterator's operators. In this case, the result is a "reverse-copy effect".

Additional information about reverse-iterators