Any way to expand a tuple?
Daniel Murphy
yebblies at nospamgmail.com
Sat Sep 24 20:40:51 PDT 2011
"Andrej Mitrovic" <andrej.mitrovich at gmail.com> wrote in message
news:mailman.142.1316903007.26225.digitalmars-d-learn at puremagic.com...
>
> Is it possible to expand the phobos tuple in the call to test()? I can
> use the isTuple template in a `static if` to figure out if it needs
> expansion, so all that's left is to actually expand the phobos tuple.
Yes, use the Tuple's .expand property.
More information about the Digitalmars-d-learn
mailing list