Comment #0 by peter.alexander.au — 2014-12-08T22:22:54Z
Currently, you can name tuple parameters if you specify the types and names.
alias Coord = Tuple!(float, "x", float, "y", float, "z");
auto c = Coord(1.0f, 2.0f, 3.0f);
would be nice to be able to do:
auto c = tuple!("x", "y", "z")(1.0f, 2.0f, 3.0f);
and have the types inferred.
Comment #1 by peter.alexander.au — 2014-12-09T10:14:39Z
I've implemented this. Will do PR when I get home.
Comment #2 by peter.alexander.au — 2014-12-09T22:46:26Z