Destructors vs. Finalizers

Mike Parker via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 26 05:35:19 PDT 2017


On Wednesday, 26 July 2017 at 12:19:15 UTC, Guillaume Piolat 
wrote:
>
> I don't get the distinction between destructors and 
> "finalizers" but imho the problem is very much that the GC is 
> calling ~this.

Destructors are deterministic, finalizers are not. At least, 
that's how I understand the terms are commonly used.


More information about the Digitalmars-d mailing list