Created on 2016-02-25.00:00:00 last changed 48 months ago
Proposed resolution (November, 2017)
Change Clause 11 [class] paragraph 1 as follows:
...A class declaration where the class-name in the class-head-name is a simple-template-id shall be an explicit specialization (13.9.4 [temp.expl.spec]) or a partial specialization (13.7.6 [temp.spec.partial]). A class-specifier whose class-head omits the class-head-name defines an unnamed class. [Note: An unnamed class thus can't be final. —end note]
[Accepted as a DR at the March, 2018 (Jacksonville) meeting.]
There does not seem to be a rule that prohibits an example like:
template<typename T> struct X; struct X<int> { };
History | |||
---|---|---|---|
Date | User | Action | Args |
2020-12-15 00:00:00 | admin | set | status: dr -> cd5 |
2018-04-11 00:00:00 | admin | set | status: tentatively ready -> dr |
2018-02-27 00:00:00 | admin | set | messages: + msg5863 |
2018-02-27 00:00:00 | admin | set | status: open -> tentatively ready |
2016-02-25 00:00:00 | admin | create |