Wait, what? What is AliasSeq?

Nicholas Wilson via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 13 02:48:36 PDT 2015


On Tuesday, 7 July 2015 at 21:15:40 UTC, Andrei Alexandrescu 
wrote:
> So I thought we were supposed to replace bad names with good 
> names. Template arguments are indexable, so "sequence" doesn't 
> quite apply.
>
> What happened? Why are we replacing a crappy term with another 
> crappy term?
>
>
> Andrei

Well, if
     alias Identity(T) = T;
then
     alias Identities(T...) = T;

or just make
      alias Identity(T...) = T;


More information about the Digitalmars-d mailing list