Static foreach bug?
Jonathan M Davis
newsgroup.d at jmdavisprog.com
Wed Sep 5 10:45:20 UTC 2018
On Wednesday, September 5, 2018 4:29:32 AM MDT Dechcaudron via Digitalmars-d
wrote:
> On Tuesday, 4 September 2018 at 19:50:27 UTC, Timon Gehr wrote:
> > The only blocker is finding a good syntax.
>
> How does "static enum" sound?
Like it would be really, really confusing. Too many people already think
that the point of static is to just make something be done at compile time
(which is actually a pretty terrible reason to use static) without adding
that sort of thing into the confusion. Timon's suggested __local is
infinitely better IMHO.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list