Notes on D future

Lars Noschinski lars-2006-1 at usenet.noschinski.de
Wed Aug 29 03:43:54 PDT 2007


* Reiner Pope <some at address.com> [07-08-29 10:51]:
>This seems like a perfect candidate for static foreach, as well as explaining 
>where static foreach is useful: where the loop *absolutely* *must* be unrolled 
>since the semantics may be different for the different bodies (given that the 
>types are different, semantic analysis must be done multiple times).

If static foreach is going to be like static if, then static foreach
will also not create a new nested scope.



More information about the Digitalmars-d mailing list