[Issue 12530] uniform initialization for type tuples too

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 6 12:32:57 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12530


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #1 from bearophile_hugs at eml.cc 2014-04-06 12:32:55 PDT ---
(In reply to comment #0)

> I think these should work:
> 
>     auto a = TypeTuple!(int, int, int)(); //(0, 0, 0)
>     auto b = TypeTuple!(int, int, int)(1); //(1, 1, 1)
>     //auto c = TypeTuple!(int, int, int)(1, 2); //Should fail
>     auto d = TypeTuple!(int, int, int)(1, 2, 3); //(1, 2, 3)

Please show one or more use cases.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list