How to avoid variable capturing in `foreach` loop with lambdas?

thebluepandabear therealbluepandabear at protonmail.com
Mon Jan 9 00:19:39 UTC 2023


> Fixing this will improve the quality of the language for 
> newcomers such as myself greatly.

This not only confuses newcomers but it gave a false illusion of 
a bug within the code :/


More information about the Digitalmars-d-learn mailing list