Destructors and Deterministic Memory Management

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Wed May 6 15:21:43 PDT 2009


Daniel Keep wrote:
> When your class' dtor is called, you CANNOT say whether any of the
> references into GC-controlled memory you hold are still valid.

You forgot to add: unless you know for a *fact* they're referenced from a GC 
root, for example from a global variable (directly or indirectly).



More information about the Digitalmars-d mailing list