Static foreach bug?

Timon Gehr timon.gehr at gmx.ch
Wed Sep 5 13:21:43 UTC 2018


On 05.09.2018 14:41, Andre Pany wrote:
> On Wednesday, 5 September 2018 at 12:05:59 UTC, rikki cattermole wrote:
> 
>> Indeed. scope enum would make much more sense.
> 
> scope enum sounds a lot better for me than static enum or even __local. 
> The __ words looks a little bit like compiler magic as the __ words are 
> reserved for the compiler.
> 
> Kind regards
> Andre

I agree, but it is not an option as scope already has a different 
meaning, and so this would redefine the semantics of existing code.


More information about the Digitalmars-d mailing list