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:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1993-09-24
|
287 b
|
6 lines
The destructor must destroy each item in the List object. Here,
the iterator "next" and the overloaded function call operator are
used to assign the pointer "entry" to the location of the next
item in the list. When the pointer is null, the list is empty and
the destructor ends.