s/type tuple/template pack/g please
Dicebot
public at dicebot.lv
Thu Aug 22 06:43:45 PDT 2013
On Thursday, 22 August 2013 at 13:39:25 UTC, Jakob Ovrum wrote:
> I'm fine with any name but would like to point out that it's
> probably essential that the new name allows for the distinction
> between what we currently call type tuples and expression/mixed
> tuples. The latter are not so important to distinguish, but
> type tuples have the privilege of being able to declare an
> expression tuple:
>
> TypeTuple!(int, string) myExpressionTuple;
> myExpressionTuple[0] = 42;
> myExpressionTuple[1] = "foo";
> // etc
One extra source of confusion is that "expression tuple" was
often used for TypeTuple!(42, "foo") ones, not for runtime
instances. Those two are very different in D. That is why I am
saying one name is not enough and some classification is needed.
More information about the Digitalmars-d
mailing list