This one weird trick allows you to capture loop variables.

Elias (0xEAB) desisma at heidel.beer
Wed Oct 23 23:00:00 UTC 2024


On Sunday, 20 October 2024 at 22:45:24 UTC, Timon Gehr wrote:
> As someone who has also implemented `opApply`, I do think it is 
> quite straightforward. It's just internal iteration with 
> support for multiple ways to exit the loop, encoded using 
> numerical indices.

Do you have any suggestions or insights how we could resolve its 
rather poor compatibility with the attribute soup?


More information about the Digitalmars-d mailing list