From 3d37ba51202f07ab8f50f71b9d32f6124eb6304f Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Tue, 13 Jan 2004 00:27:51 +0000 Subject: [PATCH] updated abstract for counting iterator [SVN r21652] --- doc/counting_iterator_abstract.rst | 7 ++++--- doc/iter-issue-list.rst | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) 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.