home *** CD-ROM | disk | FTP | other *** search
- Since operator-() is not a member of the Fraction class, ordinary
- argument conversion can be applied to either of the arguments.
- Here the floating point value 0.5 is converted to a Fraction
- object and passed as the second argument of the function.
- Here, the statement "0.5 - y" would also work, but of course
- it would have a different value.
-