home *** CD-ROM | disk | FTP | other *** search
- Here are the declarations of a Fraction object "y" and a function
- named "x". The function x() has no arguments and has a return
- value of type Fraction. Although the default constructor is a
- function with no arguments, you do not include the parentheses in
- the declaration of an object. As you can see, the compiler makes
- a very different interpretation of the declaration when the
- parentheses appear.
-