AliasSeq different from just using the symbol name(s)?
z
z at z.com
Thu Apr 15 18:43:29 UTC 2021
I've tried to group together a bundle of alias template
parameters with AliasSeq, but while without it works just fine,
when the verbose parameters are grouped with multiple AliasSeqs,
the lengths of the array parameters passed through AliasSeq are
0(inside the templated function, before the call it's still OK)
and a range violation/exception occurs.
This is weird because the templated function does not change the
length of its array parameters, and printing the parameter's
string name to stdout at runtime shows that they are supposedly
the same(in symbol name at least), but somehow it isn't the same?
To see what i mean : https://run.dlang.io/is/VXDRL4 (i could not
manage to trigger it here however.)
Big thanks
More information about the Digitalmars-d-learn
mailing list