template parameters

Ellery Newcomer ellery-newcomer at utulsa.edu
Fri Sep 25 08:19:38 PDT 2009


Hello.

Today I was looking at the grammar for template value parameters and
realized I didn't know what the conditional expression is for in

TemplateValueParameter => BasicType Declarator : ConditionalExpression

So what does it do?

(I assume = ConditionalExpression is the default value for the parameter)


More information about the Digitalmars-d-learn mailing list