static foreach is now in github master
Vladimir Panteleev via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Tue Jul 18 03:06:33 PDT 2017
On Tuesday, 18 July 2017 at 10:02:10 UTC, Seb wrote:
> And thanks to dmd-nightly, also on run.dlang.io:
>
> https://run.dlang.io/?compiler=dmd-nightly&source=void%20main(string%5B%5D%20args)%0A%7B%0A%20%20%20%20static%20foreach%20(i;%20%5B0,1,2,3%5D)%0A%09%7B%0A%20%20%20%20%09pragma(msg,%20i);%0A%09%7D%0A%7D
This link doesn't work, looks like it cuts off at the first ; ...
More information about the Digitalmars-d-announce
mailing list