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

  1. You can overload the postfix increment operator by declaring a
  2. nonmember "operator++()" with two arguments.  The first argument
  3. must be a user-defined type and the second must be an integer.
  4. You can also declare a member function operator "operator++()"
  5. with a single integer argument.  The compiler uses the int
  6. argument to distinguish between the prefix and postfix increment
  7. operators.
  8.