On Saturday, 2 March 2019 at 02:38:09 UTC, H. S. Teoh wrote:
On Sat, Mar 02, 2019 at 02:16:22AM +, Victor Porton via
Digitalmars-d-learn wrote:
[...]
Keep in mind that sequences produced by AliasSeq are
auto-expanding, meaning the above construct will automatically
flatten into a flat Al
On Sat, Mar 02, 2019 at 02:16:22AM +, Victor Porton via Digitalmars-d-learn
wrote:
> I try to split a compile time sequence of types and names into a
> sequence consisting of two-element subsequences (each of type and
> name).
>
> That is, I want to transform:
>
> (int, "x", float, "y", doub
I try to split a compile time sequence of types and names into a
sequence consisting of two-element subsequences (each of type and
name).
That is, I want to transform:
(int, "x", float, "y", double, "z")
into
(AliasSeq!(int, "x"), AliasSeq!(float, "y"), AliasSeq!(double,
"z"))
I am trying