In the age of AliasSeq, how to refer to template tuple parameters?
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Thu Oct 1 02:43:08 PDT 2015
On Thursday, 1 October 2015 at 08:20:52 UTC, Mike Parker wrote:
> What's the official way to refer to T... now? In std.meta, I
> see this for AliasSeq:
>
> /**
> * Creates a sequence of zero or more aliases. This is most
> commonly
> * used as template parameters or arguments.
> */
>
> This implies "sequence parameters". But the documentation at
> [1] still uses Template Tuple Parameters. I'm in the process of
> revising the template chapter of Learning D and I need to know
> how to refer to these now. It was originally written before
> AliasSeq came along, so I've used "tuple parameters", "type
> tuple" and "expression tuple" to refer to these. Do I need to
> change them?
>
> [1] http://dlang.org/template.html#TemplateTupleParameter
Do you want to refer to `T...` as a syntax feature or actual
arguments? Former is called "template tuple parameter" as you
correctly linked indeed, but for latter there is
http://dlang.org/template.html#TemplateArgumentList
More information about the Digitalmars-d
mailing list