A possible suggestion for the Foreach loop

Dicebot public at dicebot.lv
Wed Aug 21 06:23:02 PDT 2013


On Wednesday, 21 August 2013 at 13:18:22 UTC, bearophile wrote:
> Dylan Knutson:
>
>> I'd like to open up discussion regarding allowing foreach 
>> loops which iterate over a tuple of types to exist outside of 
>> function bodies. I think this would allow for templating 
>> constants and unittests easier.
>
> See:
> http://d.puremagic.com/issues/show_bug.cgi?id=4085
>
> Bye,
> bearophile

This bugzilla entry is on slightly related but different topic.

"declaration foreach" != "static foreach"


More information about the Digitalmars-d mailing list