updated abstract for counting iterator

[SVN r21652]
This commit is contained in:
Jeremy Siek 2004-01-13 00:27:51 +00:00
parent e785cc70d1
commit 3d37ba5120
2 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,4 @@
``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.
``counting_iterator`` adapts an object by adding an ``operator*`` that
returns the current value of the object. All other iterator operations
are forwarded to the adapted object.

View File

@ -272,9 +272,9 @@ dereference by returning a reference to the base object. The other operations ar
the base m_iterator, as per the inheritance from iterator_adaptor."
:Proposed resolution:
Change the introduction to: ``counting_iterator`` adapts an
arithmetic type, such as ``int``, by adding an ``operator*`` that
returns the current value of the object.
Change the introduction to: ``counting_iterator`` adapts an object by adding an ``operator*`` that
returns the current value of the object. All other iterator operations
are forwarded to the adapted object.