function is `@nogc` yet allocates closures with the GC work around!

Dennis dkorpel at gmail.com
Tue Jan 11 13:32:58 UTC 2022


On Tuesday, 11 January 2022 at 11:56:39 UTC, workman wrote:
> Is there a workaround to made this work ?

Make sure `doTask` takes a `scope` delegate.


More information about the Digitalmars-d mailing list