DIP 57: static foreach

Timon Gehr timon.gehr at gmx.ch
Wed Mar 26 15:14:43 PDT 2014


On 03/26/2014 01:33 PM, bearophile wrote:
> Timon Geh:
>
>> http://wiki.dlang.org/DIP57/
>>
>> Thoughts?
>
> Is it good to support this syntax too?
>
> static foreach (enum i; 0 .. 10) {}
>
> Bye,
> bearophile

Yes, I think so.

I'll try to finish the DIP this weekend.


More information about the Digitalmars-d mailing list