Template Arguments
Kirk McDonald
kirklin.mcdonald at gmail.com
Sun Feb 18 20:36:04 PST 2007
Carlos Smith wrote:
> In the the definition of template arguments:
>
> TemplateArgument:
> Type
> AssignExpression
> Symbol
>
>
> What does Symbol stands for ?
>
> Carlos
Any symbol which can be resolved at compile-time, such as, for example,
a function, can be passed as a template argument. The grammar doesn't
define what "Symbol" is, specifically, but it might not be incorrect to
think of it as the same as "Identifier".
--
Kirk McDonald
http://kirkmcdonald.blogspot.com
Pyd: Connecting D and Python
http://pyd.dsource.org
More information about the Digitalmars-d-learn
mailing list