[Gc] Newbie Question
Fergus Henderson
fjh@cs.mu.oz.au
Tue, 11 Feb 2003 14:11:09 +1100
On 10-Feb-2003, Simon Gornall <simon@s-a-l-t.co.uk> wrote:
> Each _object[N] will have memory allocated inside them using the (UseGC)
> placement, but if their objects' destructors aren't called, I guess they
> can't free the memory allocated.
They shouldn't need to. The idea is that the *garbage collector* will
automatically free any memory allocated with the (UseGC) placement
when it is no longer referenced.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <https://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.