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

  1. A copy constructor has one explicit argument, which is an object
  2. of the same class as the class containing this constructor.  The
  3. existing object is passed by reference, because to pass it by
  4. value would involve making another temporary copy.  The argument
  5. is passed as a constant so that the object being copied cannot be
  6. altered during execution of the constructor.
  7.