
Destructor
nThen, we can deallocate
the memory when the lifetime of a list object is over
nWhen is
that?
nLuckily, when
the client’s object of the list class lifetime is over (at the end
of the block in which it is defined) -- the destructor
is implicitly invoked
n