couple edits

[SVN r1215]
This commit is contained in:
Jeremy Siek
2003-04-27 00:42:55 +00:00
parent 2bb60050ac
commit bc3d6b7c40

View File

@@ -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: