From bc3d6b7c403ece976dcd87c060b7343ca087a09a Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Sun, 27 Apr 2003 00:42:55 +0000 Subject: [PATCH] couple edits [SVN r1215] --- doc/facade-and-adaptor.rst | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/doc/facade-and-adaptor.rst b/doc/facade-and-adaptor.rst index db508ca..6beec95 100755 --- a/doc/facade-and-adaptor.rst +++ b/doc/facade-and-adaptor.rst @@ -663,12 +663,6 @@ interoperable with ``X``. :Requires: :Effects: - :: - - Derived tmp(static_cast(this)); - ++*this; - return tmp; - :Postconditions: :Returns: A copy of ``*this``, incremented once. :Throws: @@ -677,9 +671,9 @@ interoperable with ``X``. ``Derived& operator--();`` :Requires: -:Effects: +:Effects: Invokes the ``decrement`` core interface function. :Postconditions: -:Returns: Invokes the ``decrement`` core interface function. +:Returns: ``*this`` :Throws: :Complexity: @@ -687,12 +681,6 @@ interoperable with ``X``. :Requires: :Effects: - :: - - Derived tmp(static_cast(this)); - --*this; - return tmp; - :Postconditions: :Returns: A copy of ``*this``, decremented once. :Throws: