Thread overview | |||||
---|---|---|---|---|---|
|
December 17, 2022 [Issue 12530] uniform initialization for type tuples too | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12530 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P4 -- |
August 23, 2024 [Issue 12530] uniform initialization for type tuples too | ||||
---|---|---|---|---|
| ||||
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; -- |
December 13 [Issue 12530] uniform initialization for type tuples too | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12530 --- Comment #4 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18811 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation