s/type tuple/template pack/g please

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Aug 21 11:26:41 PDT 2013


On 8/21/13 11:21 AM, Brad Anderson wrote:
> On Wednesday, 21 August 2013 at 17:53:21 UTC, Andrei Alexandrescu wrote:
>> There's an inordinate amount of confusion around what we currently
>> call "type tuple" (embodied in std's TypeTuple). I've been furious
>> immediately as I got word that Walter called it that way, and it
>> hasn't failed to make everybody else feel the same over the years.
>>
>> So: shall we use "template pack" going forward exclusively whenever we
>> refer to that stuff? That way we can unambiguously use "tuple" for
>> "value tuples, i.e. like mini-structs that group values together".
>>
>> Destroy. I mean criticize.
>>
>>
>>
>> Andrei
>
> There are a lot of good names for it: Template Pack, Type Sequence,
> Template Argument List, Type List, etc. I think I like Type Sequence the
> best but any will do.  All that really matters is getting Tuple out of
> the name to clear up the confusion.

We much more need to get "type" out of the name. Those aren't types.

Andrei



More information about the Digitalmars-d mailing list