Does D have too many features?

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Sun Apr 29 12:49:34 PDT 2012


"F i L" <witte2008 at gmail.com> wrote in message 
news:oakvbobsvtawtdcasglk at forum.dlang.org...
>
> Other things that would be cool:
>
> - static foreach

We sort of do:

// Unrolled at compile-time
foreach(T; TypeTuple!(int, string, BigInt))
{
    ...
}

I'm not sure that's valid outside a function, though.




More information about the Digitalmars-d mailing list