[Issue 16458] std.typecons.namedTuple
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Sep 1 14:06:47 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16458
Lodovico Giaretta <lodovico at giaretart.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |lodovico at giaretart.net
Hardware|x86_64 |All
Resolution|--- |WORKSFORME
OS|Linux |All
--- Comment #1 from Lodovico Giaretta <lodovico at giaretart.net> ---
We already have a function that does this in std.typecons:
auto t = tuple!("x","y")(1.0,2.0);
https://dlang.org/phobos/std_typecons.html#.tuple
--
More information about the Digitalmars-d-bugs
mailing list