Destructor nonsense on dlang.org

David Nadlinger see at klickverbot.at
Thu May 24 10:55:39 PDT 2012


On Thursday, 24 May 2012 at 17:55:02 UTC, Alex Rønne Petersen 
wrote:
> I would strongly advise against that, because a missed clear() 
> means your finalizer may be run by the runtime's finalization 
> machinery, and thus invalidate any invariants you were relying 
> on in the finalizer.

Yes – the »correc†


More information about the Digitalmars-d mailing list