loop through specific class members

BCS none at anon.com
Sun Jan 25 20:50:10 PST 2009


Hello Sergey,

> foreach() is a runtime construct.  It may be *interpreted* at
> compile-time, but it's interpreted as if it were run time
> nevertheless. It dynamically changes the value of 'member' variable.

OTOH a foreach on a tuple is a compile time construct, but it is a distinct 
construct from the array foreach and is not what you are using (If i'm reading 
stuff correctly)




More information about the Digitalmars-d-learn mailing list