Merge tuples

bearophile bearophileHUGS at lycos.com
Thu May 31 09:42:20 PDT 2012


simendsjo:

> int a;
> string b;
> ToTuple!(a, b) should create Tuple!(int, "a", string, "b")
>
> template ToTuple(Variables...) {
>   ?
> }

ToTuple will have a hard time inventing the names for those
fields...

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list