Wait, what? What is AliasSeq?

via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 16 01:05:28 PDT 2015


On Thursday, 16 July 2015 at 05:51:01 UTC, Mike wrote:
> On Thursday, 16 July 2015 at 05:44:29 UTC, Ola Fosheim Grøstad 
> wrote:
>
>>
>> C++ also have related use of the word "pack":
>>
>> http://en.cppreference.com/w/cpp/language/parameter_pack
>>
>
> Nice!  From the description:
>
> "A template parameter pack is a template parameter that accepts 
> zero or more template arguments (non-types, types, or 
> templates). A function parameter pack is a function parameter 
> that accepts zero or more function arguments.
>
> A template with at least one parameter pack is called a 
> variadic template."
>
> Sound familiar?  I propose simply "Pack".
>

Only that it is in fact an UnPack...


More information about the Digitalmars-d mailing list