From 250a374e075785ebc16071be5b84d9b15944fea0 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Tue, 13 Jan 2004 02:15:04 +0000 Subject: [PATCH] changes as per Dave's comments [SVN r21656] --- doc/counting_iterator_ref.rst | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/doc/counting_iterator_ref.rst b/doc/counting_iterator_ref.rst index 88f3d42..faff595 100644 --- a/doc/counting_iterator_ref.rst +++ b/doc/counting_iterator_ref.rst @@ -26,9 +26,9 @@ }; -If the ``Diference`` argument is ``use_default`` then the +If the ``Difference`` argument is ``use_default`` then the ``difference_type`` member is an implementation defined signed -integral type. +integral type. Otherwise ``difference_type`` is ``Difference``. If ``CategoryOrTraversal`` is not ``use_default`` then the member ``iterator_category`` is ``CategoryOrTraversal``. Otherwise, if @@ -40,7 +40,7 @@ type then ``iterator_category`` is [*Note:* implementers are encouraged to provide an implementation of - ``distance_to`` and a ``difference_type`` that avoids overflows in + ``operator-`` and a ``difference_type`` that avoids overflows in the cases when the ``Incrementable`` type is a numeric type.] @@ -94,19 +94,18 @@ operations. ``counting_iterator();`` -:Returns: A default constructed instance of ``counting_iterator``. +:Effects: Default construct the member ``m_inc``. ``counting_iterator(counting_iterator const& rhs);`` -:Returns: An instance of ``counting_iterator`` that is a copy of ``rhs``. +:Effects: Construct member ``m_inc`` from ``rhs.m_inc``. ``explicit counting_iterator(Incrementable x);`` -:Returns: An instance of ``counting_iterator`` with ``m_inc`` - constructed from ``x``. +:Effects: Construct member ``m_inc`` from ``x``. ``reference operator*() const;``