Suggestion: foreach for tuples should be renamed static foreach

nazo lovesyao at gmail.com
Mon Dec 4 19:15:31 PST 2006


foreach for tuple expand in compile time. So I think that foreach for 
tuples should be renamed static foreach.
#Sorry for my poor English

now:
foreach(i,T;TL){
   static if(i>1){

   }
}

suggestion:
static foreach(i,T;TL){
   static if(i>1){

   }
}



More information about the Digitalmars-d mailing list