static foreach considered
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 8 15:23:49 PDT 2015
On 6/8/15 2:14 PM, Jonathan M Davis wrote:
>
> I would assume that it would be pretty much the same as doing
>
> foreach(T; TypeTuple!(...))
> {
> ...
> }
>
> except that you're not forced to shove everything in a TypeTuple.
I'm even fine with the type tuple, just allow at declaration level and
don't introduce a scope. Would be a great start. -- Andrei
More information about the Digitalmars-d
mailing list