mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-11 13:33:56 +00:00
updated abstract for counting iterator
[SVN r21652]
This commit is contained in:
parent
e785cc70d1
commit
3d37ba5120
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user