diff --git a/doc/counting_iterator_abstract.rst b/doc/counting_iterator_abstract.rst index 7d5ea76..bdb8491 100644 --- a/doc/counting_iterator_abstract.rst +++ b/doc/counting_iterator_abstract.rst @@ -1,3 +1,4 @@ -``counting_iterator`` adapts an incrementable type such as ``int`` -or ``std::list::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. + diff --git a/doc/iter-issue-list.rst b/doc/iter-issue-list.rst index b81cce9..0507567 100644 --- a/doc/iter-issue-list.rst +++ b/doc/iter-issue-list.rst @@ -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.