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

  1. Here the minus operator has one argument, "y", that is an object
  2. of the Fraction class.  The overloaded unary operator is called.
  3. Notice the operator is used in this line just like the built-in
  4. minus operator can be used for built-in data types.
  5.