Created on 2022-10-26.00:00:00 last changed 2 weeks ago
Proposed resolution (approved by CWG 2023-11-11):
Change in 11.1 [class.pre] paragraph 2 as follows:
The component name of the class-name is also bound in the scope of the class (template) itself; this is known as the injected-class-name. ...
Issue 2237 sought to disallow simple-template-ids as constructor names, by referring to the injected-class-name. However, 11.1 [class.pre] paragraph 2 specifies:
The class-name is also bound in the scope of the class (template) itself; this is known as the injected-class-name.
The grammar non-terminal class-name includes the option of a simple-template-id (for declaring a partial specialization).
History | |||
---|---|---|---|
Date | User | Action | Args |
2023-11-16 21:27:26 | admin | set | status: open -> tentatively ready |
2022-10-28 18:44:38 | admin | set | messages: + msg6957 |
2022-10-26 00:00:00 | admin | create |