Pair literal for D language
Tofu Ninja via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jun 29 13:44:05 PDT 2014
On Sunday, 29 June 2014 at 16:09:15 UTC, Dicebot wrote:
> On Sunday, 29 June 2014 at 16:03:07 UTC, Mason McGill wrote:
>> I understand, but I was talking about `var` being referred to
>> as
>> a `TemplateArgumentList` when it's not used as such. It's used
>> as
>> an `ArgumentList`, just not a `TemplateArgumentList`.
>
> Why do you expect template argument list to be used only as
> argument to templates? Anything that matches
> http://dlang.org/grammar#TemplateArgumentList can be called one.
Your argument is nice and all, but can you really not see how
calling it a TemplateArgumentList could cause confusion when it
is not used as a template argument. We should be striving for
clarity here.
More information about the Digitalmars-d
mailing list