home *** CD-ROM | disk | FTP | other *** search
- The example class Weather, above, has four constructors. Notice
- that each constructor has a distinct number and type of
- arguments. When an object is declared, the compiler calls the
- constructor function that matches the type and number of arguments
- in the declaration. The ability to define multiple meanings for
- constructors and member functions is supported by the overloading
- facility of C++.
-