Kai's talk at FOSDEM streaming NOW!

Daniel Murphy yebbliesnospam at gmail.com
Sun Feb 2 06:10:42 PST 2014


"bearophile"  wrote in message news:puczjifnprbmbnufuohw at forum.dlang.org... 
> Then how is this code rewritten?
> 
> foreach (immutable a; 1 .. 10) {
>      /* stmts */
> }

int __key1 = 1;
immutable immutable(int) __limit2 = 10;
for (; __key1 < 10; __key1 += 1)
{
immutable immutable(int) a = __key1;
/* stmts */
}



More information about the Digitalmars-d mailing list