Value closures (no GC allocation)

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Sun May 21 12:43:32 PDT 2017


On Sunday, 21 May 2017 at 19:11:46 UTC, Stanislav Blinov wrote:
> Looks cool, but it'd still want a GC closure, won't it?

No, it just generates the same struct you'd write manually. That 
should work fine with @nogc now.


More information about the Digitalmars-d mailing list