Summary: std.typecons.Tuple should have constructor for static
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: All
            Status: ASSIGNED
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Tomasz SowiƄski <> 2010-10-07 13:53:09 
PDT ---
Should work:

int[2] ints;
Tuple!(int, int) t = ints;

This leaves the reverse conversion unimplementable. A way out can be:

Tuple!(int, int) t;
auto ints = to!(int[2])(t);

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to