in reply to Re: Please review Class::WeakSingleton
in thread Please review Class::WeakSingleton
instance() is not documented as being available for inheritance and I didn't immediately see a way of doing that with subclassing. Not that I can't be daft at times. I think though... that your fix doesn't do the job right. The stored reference needs to be weakened, not the returned reference.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Please review Class::WeakSingleton
by rob_au (Abbot) on Jun 20, 2003 at 05:42 UTC | |
by diotalevi (Canon) on Jun 20, 2003 at 11:00 UTC |