| |
| Posted by Nick Treleaven | PermalinkReply |
|
Nick Treleaven
| https://issues.dlang.org/show_bug.cgi?id=12530
Nick Treleaven <nick@geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick@geany.org
--- Comment #3 from Nick Treleaven <nick@geany.org> ---
> auto b = TypeTuple!(int, int, int)(1); //(1, 1, 1)
...
> TypeTuple!(int, int, int) a = ...;
> TypeTuple!(int, int, int) b = TypeTuple!(int, int, int)(a);
Not uniform initialization, but you can do:
import std.meta: AliasSeq;
AliasSeq!(int, int, int) vs = 1;
assert(vs == AliasSeq!(1, 1, 1));
AliasSeq!(int, int, int) xs = vs;
--
|