[Issue 19036] .tupleof order guarantee
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 4 18:59:25 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19036
--- Comment #6 from Jacob Carlborg <doob at me.com> ---
(In reply to Guillaume Lathoud from comment #5)
> One the side: is there an easy way to concatenate two expression sequences?
> I am thinking of something like BaseClass.tupleof ~ ChildClass.tupleof
You can concatenate a tuple of types using std.typecons.AliasSeq. That would be
used like this:
alias a = AliasSeq!(typeof(BaseClass.tupleof), typeof(ChildClass.tupleof));
It seems it's not possible to concatenate without using "typeof".
--
More information about the Digitalmars-d-bugs
mailing list