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

  1. Very often, a constructor creates an object so that all or some of
  2. its data members reside in storage allocated from dynamic memory.
  3. Use of dynamic memory differs from the default method of storage
  4. allocation in that it is allocated and deallocated by explicit
  5. function calls in a C++ program, rather than by the compiler.  If
  6. a constructor for a class uses dynamic memory, the destructor must
  7. release that memory.
  8.