destructors
Sean Kelly
sean at f4.ca
Tue May 1 07:09:02 PDT 2007
Daniel Keep wrote:
>
> There was a thread quite some time ago that demonstrated a hacked
> version of phobos that allowed destructors to take a bool argument that
> told the destructor if the object was being destroyed deterministically
> (ie: via the delete statement, or because the object was scoped) or not.
> Sadly, it never caught on :(
Tango provides a global hook for this. It isn't exactly the same, but
it has a similar effect.
Sean
More information about the Digitalmars-d-learn
mailing list