[spec, CC Dibyendu Majumdar] Should static foreach be in under "conditional compilation"?

Mr. Spec fixthespec at example.org
Sat May 18 23:39:55 UTC 2019


On Saturday, 18 May 2019 at 23:37:28 UTC, Mr. Spec wrote:
> As Dibyendu Majumdar has been working on fixing the spec (BTW 
> thank you so much), I wanted to bring this up:
>
> I just realized that static foreach is under the "conditional 
> compilation" section in the spec 
> (https://dlang.org/spec/version.html). It seems like this 
> should be put somewhere else, because static foreach is not 
> related to conditional compilation.
>
> Thoughts?

Maybe it isn't just that static foreach should be moved, but 
maybe just change the page title from "Conditional Compilation" 
to something else that could contain compile time features such 
as version, debug, static assert, etc?


More information about the Digitalmars-d mailing list