Static loops
Tofu Ninja
emmons0 at purdue.edu
Sat Feb 15 03:20:17 PST 2014
On Saturday, 15 February 2014 at 09:09:59 UTC, bearophile wrote:
> Tofu Ninja:
>
>> To me it seems odd that we have a static if but no static
>> while or static for or static foreach.
>
> See:
> https://d.puremagic.com/issues/show_bug.cgi?id=4085
>
> Bye,
> bearophile
I am glad to see that I am not the only one who is thinking about
this. I feel like if foreach on a tuple required static in front
of it, it would be much more obvious what was happening. I don't
really use tuples that often so when I saw foreach on tuples, it
didn't really make sense to me.
More information about the Digitalmars-d
mailing list