in reply to Allowing object destruction even with an
The second thing that you can do is have your constructor return a wrapper that is a reference to the real object. This wrapper will then go away properly and you can have it properly destroy the underlying argument in its DESTROY method. This does force an extra layer of indirection though.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re (tilly) 1: Allowing object destruction even with an
by Fastolfe (Vicar) on Sep 08, 2000 at 01:49 UTC |