mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-12 05:51:37 +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``
|
``counting_iterator`` adapts an object by adding an ``operator*`` that
|
||||||
or ``std::list<std::string>::iterator``, by adding an ``operator*``
|
returns the current value of the object. All other iterator operations
|
||||||
that returns the current value of the object.
|
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."
|
the base m_iterator, as per the inheritance from iterator_adaptor."
|
||||||
|
|
||||||
:Proposed resolution:
|
:Proposed resolution:
|
||||||
Change the introduction to: ``counting_iterator`` adapts an
|
Change the introduction to: ``counting_iterator`` adapts an object by adding an ``operator*`` that
|
||||||
arithmetic type, such as ``int``, by adding an ``operator*`` that
|
returns the current value of the object. All other iterator operations
|
||||||
returns the current value of the object.
|
are forwarded to the adapted object.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user