Anonymous nogc class

Jiyan via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 8 05:32:35 PDT 2017


On Friday, 8 September 2017 at 06:37:54 UTC, Biotronic wrote:
> On Thursday, 7 September 2017 at 23:40:11 UTC, Jiyan wrote:
>> [...]
>
> Sadly, even std.typecons.scoped isn't currently @nogc:
> https://issues.dlang.org/show_bug.cgi?id=13972
> https://issues.dlang.org/show_bug.cgi?id=17592
>
> [...]

First thanks :)

i understand the part with scopedAnon, but can you explain what 
the ~this is referring to?
Is it the Modul destructor?
And in general is it just that scoped is just not marked @nogc or 
is it that it would really need to use the gc?


More information about the Digitalmars-d-learn mailing list