in reply to Re: Re: Re: Re: Re: explicitly calling destructor
in thread explicitly calling destructor

I think you missed the point of doing the check in the other methods. I briefly thought about zeroing the contents of the object but decided not to for simplicity in this case. There's general utility in preventing other methods which might expect the object to still work from actually working. But if that happens then something is seriously wrong so its ok to throw a fatal error.

  • Comment on Re: Re: Re: Re: Re: Re: explicitly calling destructor

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Re: explicitly calling destructor
by edoc (Chaplain) on May 16, 2003 at 13:48 UTC

    I think I missed the point of which methods we were talking about. 8)

    (I was thinking of the methods that were explicitly calling the DESTROY method.)