static switch

Dicebot public at dicebot.lv
Thu Mar 6 09:12:50 PST 2014


On Thursday, 6 March 2014 at 16:58:12 UTC, Andrei Alexandrescu 
wrote:
> On 3/5/14, 4:59 PM, Shammah Chancellor wrote:
>> Actually, there is static foreach if you are iterating over a 
>> tuple.
>
> There's one scope for iteration. We need all iterations to 
> occur in the same scope as the foreach statement.
>
> Andrei

Also grammar currently does not allow it to be used as 
declaration (which is key use case for me)


More information about the Digitalmars-d mailing list