Created on1998-05-28.00:00:00 last changed277 months ago
Proposed Resolution (04/99):Append to 13.3 [temp.names] paragraph 5:
Furthermore, names of member templates shall not be prefixedby the keywordtemplate if thepostfix-expression orqualified-iddoes not appear in the scope of a template. [Note: just as is the casewith thetypename prefix, thetemplate prefix is allowedin cases where it is not strictly necessary; i.e., when the expressionon the left of the-> or., or thenested-name-specifieris not dependent on atemplate-parameter. ]
I have a request for clarification regarding a issue similar to JohnWiegley's, but wrt. the::template syntax. More precisely, whereis
X::template Yallowed? (It is required for dependentX whereY is atemplate-id, I believe, but it doesn't seem to be disallowed elsewhere.)
The question also holds for '.template' and '->template'.
Proposed Resolution (04/99):Append to 13.3 [temp.names] paragraph 5:
Furthermore, names of member templates shall not be prefixedby the keywordtemplate if thepostfix-expression orqualified-iddoes not appear in the scope of a template. [Note: just as is the casewith thetypename prefix, thetemplate prefix is allowedin cases where it is not strictly necessary; i.e., when the expressionon the left of the-> or., or thenested-name-specifieris not dependent on atemplate-parameter. ]
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2003-04-25 00:00:00 | admin | set | status: dr -> tc1 |
| 1999-09-14 00:00:00 | admin | set | messages: +msg210 |
| 1999-09-14 00:00:00 | admin | set | status: drafting -> dr |
| 1998-05-28 00:00:00 | admin | create | |