Static loops

Timon Gehr timon.gehr at gmx.ch
Sat Feb 15 07:37:26 PST 2014


On 02/15/2014 12:20 PM, Tofu Ninja wrote:
> ...
>
> 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.  ...

`static foreach' should not introduce a new scope for its body. (but 
foreach over a tuple should.)


More information about the Digitalmars-d mailing list