AliasSeq different from just using the symbol name(s)?

z z at z.com
Thu Apr 15 19:39:21 UTC 2021


On Thursday, 15 April 2021 at 19:38:04 UTC, z wrote:
> ```D
> int[] a,b,c,d,e;
> void templatef(args...){/*...*/}
> //...
> auto seq = AliasSeq!(b,c,d);
> templatef!(a,seq,e);
> templatef!(a,b,c,d,e); //am i being mistaken for thinking these 
> two template calls should be equivalent in behavior?
> ```
woops, meant `void templatef(args...)(){}`


More information about the Digitalmars-d-learn mailing list