This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 119a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-12-20
[Voted into the WP at the September, 2008 meeting.]
In order for twotemplate-ids to refer to the same function,13.6 [temp.type] paragraph 1, bullet 1 requires that
theirtemplate-names refer to the sametemplate
This makes it impossible for twotemplate-ids referringto operator function templates to be equivalent, because onlysimple-template-ids have atemplate-name, and atemplate-id referring to an operator function template isnot asimple-template-id (13.3 [temp.names] paragraph 1).
Suggested resolution:
Change 13.6 [temp.type] paragraph 1, bullet 1 to read,
theirtemplate-namesoroperator-function-ids refer to the same template
Proposed resolution (June, 2008):
Change 13.6 [temp.type] paragraph 1, first bullet, asfollows:
theirtemplate-namesoroperator-function-ids refer to the same template,and