Reputation: 23
In "template class_name" symbols '<' and '>' are overloaded or they are only specific syntax?
Upvotes: 2
Views: 47
Reputation: 206577
They are elements of the syntax.
From the n3337 draft standard:
14 Templates
1 A template defines a family of classes or functions or an alias for a family of types.
template-declaration:
template < template-parameter-list > declaration
template-parameter-list:
template-parameter
template-parameter-list , template-parameter
Upvotes: 0