Is there anyway to make opApply @nogc?

Gary Willoughby via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jun 20 08:13:53 PDT 2016


On Monday, 20 June 2016 at 14:34:33 UTC, Mathias Lang wrote:
> Can't `opApply` with `auto` return type works since it infers 
> attributes ?

I think the problem is that the delegate which is required by 
opApply is allocated using the GC.


More information about the Digitalmars-d-learn mailing list