Template specialization question

Steven Schveighoffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Nov 24 10:34:30 PST 2016


On Thursday, 24 November 2016 at 17:59:55 UTC, ag0aep6g wrote:
>
> Took me a bit to find it, but it is documented:
>
> "If both a template with a sequence parameter and a template 
> without a sequence parameter exactly match a template 
> instantiation, the template without a TemplateSequenceParameter 
> is selected."
>
> https://dlang.org/spec/template.html#variadic_template_specialization


Thanks. I did not find this! You learn something new about D 
every day

-Steve



More information about the Digitalmars-d-learn mailing list