home *** CD-ROM | disk | FTP | other *** search
- Four arithmetic operators have been overloaded. They have been
- implemented as friends for mixed-mode arithmetic. For example, if
- "a" is a Fraction object, the expression "2 + a" has the same
- effect as "a + 2". If these operators were members of the
- Fraction class, the first operand of each would have to be a
- Fraction object.
-