s/type tuple/template pack/g please

Dicebot public at dicebot.lv
Wed Aug 21 10:59:22 PDT 2013


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

http://forum.dlang.org/post/lrycaqlrtwylhbxfifyz@forum.dlang.org 
;)

> Define two distinct built-in "tuples":
>
>     - Template argument sequence: may contain anything that is 
> legal template
>         argument.
>     - Value tuple or simply "tuple": may contain any values, 
> including run-time
>     values. Value storage location is not defined.

"pack" is dangerous word to chose until packing/unpacking 
semantics are set in stone.


More information about the Digitalmars-d mailing list