Using lazily ?

bearophile bearophileHUGS at lycos.com
Thu Mar 1 15:12:47 PST 2012


Ali:

> Note that Timon's inner foreach is a compile-time foreach, which is the 
> equivalent of the following three lines:

I'd like it to be written:
static foreach (...) {...

In the meantime an annotation helps clarify the code for the person that will read the code:
/*static*/ foreach (...) {...

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list