GC Destruction Order

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 19 11:19:30 PDT 2015


On Tuesday, 19 May 2015 at 18:15:06 UTC, bitwise wrote:
> Is this also true for D?

Yes. The GC considers all the unreferenced memory dead at the 
same time and may clean up the class and its members in any order.


More information about the Digitalmars-d-learn mailing list