home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH10 / A101218.TXT < prev    next >
Encoding:
Text File  |  1993-09-24  |  287 b   |  6 lines

  1. The destructor must destroy each item in the List object.  Here,
  2. the iterator "next" and the overloaded function call operator are
  3. used to assign the pointer "entry" to the location of the next
  4. item in the list.  When the pointer is null, the list is empty and
  5. the destructor ends.
  6.