Clean way to tell whether a destructor is called by the GC

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 15 11:09:10 PDT 2015


Another idiom from .net is Dispose(bool) method, called with 
argument true from Dispose and with argument false from 
finalizer. https://msdn.microsoft.com/en-us/library/d9yzd5cx.aspx


More information about the Digitalmars-d-learn mailing list