A template construct like using()

Adam Ruppe destructionator at gmail.com
Tue Apr 26 23:09:29 UTC 2022


On Tuesday, 26 April 2022 at 23:00:57 UTC, cc wrote:
> If your draw code doesn't depend on any scoped state you can 
> use `function()` instead of `delegate()` to save a GC call.

`scope delegate` also works here and just reuses the stack.




More information about the Digitalmars-d-learn mailing list