Created on2015-11-30.00:00:00 last changed96 months ago
Proposed resolution (November, 2016):
Change 9.13.1 [dcl.attr.grammar] paragraph 5 as follows:
Eachattribute-specifier-seq is said toappertain to someentity or statement, identified by the syntactic context where it appears(Clause 8 [stmt], 9.1 [dcl.pre],9.3 [dcl.decl]). If anattribute-specifier-seq thatappertains to some entity or statement contains anattributeoralignment-specifier that is not allowed to apply tothat entity or statement, the program is ill-formed. Ifanattribute-specifier-seq appertains to a friend declaration(11.8.4 [class.friend]), that declaration shall be adefinition. Noattribute-specifier-seq shall appertain to anexplicit instantiation (13.9.3 [temp.explicit]).
[Adopted at the February/March, 2017 meeting.]
According to 9.13.1 [dcl.attr.grammar] paragraph 5, a program isill-formed if anattribute appertains to an entity or statement towhich it is not allowed to apply. Presumably analignment-specifiershould have the same restriction.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-02-27 00:00:00 | admin | set | status: ready -> c++17 |
| 2017-02-06 00:00:00 | admin | set | messages: +msg5716 |
| 2015-11-30 00:00:00 | admin | create | |