home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH09 / A091821.TXT < prev    next >
Encoding:
Text File  |  1993-10-21  |  419 b   |  8 lines

  1. This is the declaration of a nonstatic member function that
  2. overloads the postfix increment operator for the Fraction class.
  3. Notice that the function has one explicit argument of type int.
  4. This second argument must be present to distinguish the postfix
  5. increment operator from the prefix increment operator.  The first
  6. argument of this function is a Fraction object passed implicitly
  7. through the "this" pointer.
  8.