DIP68: Adding @nogc to types

via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 11 10:29:57 PST 2014


On Tuesday, 11 November 2014 at 17:56:50 UTC, David Nadlinger 
wrote:
> On Tuesday, 11 November 2014 at 17:53:43 UTC, David Nadlinger 
> wrote:
>> Let's focus work on finally fixing bug 2834 instead.
>
> (https://issues.dlang.org/show_bug.cgi?id=2834 – "Struct 
> Destructors are not called by the GC, but called on explicit 
> delete". To me, this seems to be the proper fix for your 
> problem.)

I would prefer to move away from calling destructors from the GC, 
and introducing finalizers instead, to clean up the confusion.


More information about the Digitalmars-d mailing list