Finished iterator_adaptor tutorial

Added example test code
Rolled forward old counting_iterator abstract for boost docs.


[SVN r21649]
This commit is contained in:
Dave Abrahams
2004-01-12 20:58:22 +00:00
parent 19dbb5304c
commit 3bf52ec2f2
13 changed files with 488 additions and 138 deletions

View File

@ -1,2 +1,3 @@
``counting_iterator`` adapts an arithmetic type, such as ``int``, by
adding an ``operator*`` that returns the current value of the object.
``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.