~ubuntu-branches/ubuntu/trusty/c++-annotations/trusty

« back to all changes in this revision

Viewing changes to yo/overloading/increment.yo

  • Committer: Package Import Robot
  • Author(s): Frank B. Brokken
  • Date: 2011-09-12 16:08:05 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: package-import@ubuntu.com-20110912160805-r9dq68beojgzuien
Tags: 9.0.2-1
New upstream release (editorial changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
ensures that the original object is returned and the current object becomes
99
99
the incremented object.
100
100
 
101
 
    When calling  the postfix increment or decrement operator
102
 
using  its full member function name then any tt(int) argument passed to the
103
 
member function will result in calling the postfix operator. Example:
 
101
    When calling the increment or decrement operator using its full member
 
102
function name then any tt(int) argument passed to the function results in
 
103
calling the postfix operator. Omitting the argument results in calling the
 
104
prefix operator. Example:
104
105
        verb(
105
106
    Unsigned uns(13);
106
107