Created on 2009-03-03.00:00:00 last changed 178 months ago
[Voted into WP at March, 2010 meeting.]
Proposed resolution (November, 2009):
Change 9.2 [dcl.spec] paragraph 2 as follows:
The longest sequence of decl-specifiers that could possibly be a type name is taken as the decl-specifier-seq of a declarationIf a type-name is encountered while parsing a decl-specifier-seq, it is interpreted as part of the decl-specifier-seq if and only if there is no previous type-specifier other than a cv-qualifier in the decl-specifier-seq.. The sequence shall be self-consistent as described below. [Example:...
According to 9.2 [dcl.spec] paragraph 2,
The longest sequence of decl-specifiers that could possibly be a type name is taken as the decl-specifier-seq of a declaration.
However, there are many decl-specifiers that cannot appear in a type name that are, nonetheless, part of a declaration's decl-specifier-seq, such as typedef, friend, static, etc.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-03-29 00:00:00 | admin | set | messages: + msg2681 |
2010-03-29 00:00:00 | admin | set | status: tentatively ready -> cd2 |
2010-02-16 00:00:00 | admin | set | messages: + msg2497 |
2010-02-16 00:00:00 | admin | set | status: drafting -> tentatively ready |
2009-11-08 00:00:00 | admin | set | status: open -> drafting |
2009-03-03 00:00:00 | admin | create |