home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH06 / A06142.TXT < prev    next >
Encoding:
Text File  |  1993-10-18  |  406 b   |  8 lines

  1. The example class Weather, above, has four constructors.  Notice
  2. that each constructor has a distinct number and type of
  3. arguments.  When an object is declared, the compiler calls the
  4. constructor function that matches the type and number of arguments
  5. in the declaration.  The ability to define multiple meanings for
  6. constructors and member functions is supported by the overloading
  7. facility of C++.
  8.