forked from boostorg/iterator
couple edits
[SVN r1215]
This commit is contained in:
@@ -663,12 +663,6 @@ interoperable with ``X``.
|
|||||||
|
|
||||||
:Requires:
|
:Requires:
|
||||||
:Effects:
|
:Effects:
|
||||||
::
|
|
||||||
|
|
||||||
Derived tmp(static_cast<Derived const*>(this));
|
|
||||||
++*this;
|
|
||||||
return tmp;
|
|
||||||
|
|
||||||
:Postconditions:
|
:Postconditions:
|
||||||
:Returns: A copy of ``*this``, incremented once.
|
:Returns: A copy of ``*this``, incremented once.
|
||||||
:Throws:
|
:Throws:
|
||||||
@@ -677,9 +671,9 @@ interoperable with ``X``.
|
|||||||
``Derived& operator--();``
|
``Derived& operator--();``
|
||||||
|
|
||||||
:Requires:
|
:Requires:
|
||||||
:Effects:
|
:Effects: Invokes the ``decrement`` core interface function.
|
||||||
:Postconditions:
|
:Postconditions:
|
||||||
:Returns: Invokes the ``decrement`` core interface function.
|
:Returns: ``*this``
|
||||||
:Throws:
|
:Throws:
|
||||||
:Complexity:
|
:Complexity:
|
||||||
|
|
||||||
@@ -687,12 +681,6 @@ interoperable with ``X``.
|
|||||||
|
|
||||||
:Requires:
|
:Requires:
|
||||||
:Effects:
|
:Effects:
|
||||||
::
|
|
||||||
|
|
||||||
Derived tmp(static_cast<Derived const*>(this));
|
|
||||||
--*this;
|
|
||||||
return tmp;
|
|
||||||
|
|
||||||
:Postconditions:
|
:Postconditions:
|
||||||
:Returns: A copy of ``*this``, decremented once.
|
:Returns: A copy of ``*this``, decremented once.
|
||||||
:Throws:
|
:Throws:
|
||||||
|
Reference in New Issue
Block a user