mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-20 08:02:10 +02:00
Added example test code Rolled forward old counting_iterator abstract for boost docs. [SVN r21649]
4 lines
181 B
ReStructuredText
4 lines
181 B
ReStructuredText
``counting_iterator`` adapts an incrementable type such as ``int``
|
|
or ``std::list<std::string>::iterator``, by adding an ``operator*``
|
|
that returns the current value of the object.
|