Created on 2016-03-17.00:00:00 last changed 47 months ago
Proposed resolution, February, 2018:
Change 7.5.5.2 [expr.prim.id.unqual] paragraph 1 as follows:
An identifier is only an id-expressionprovidedif it has been suitably declared ( Clause 9 [dcl.dcl]) or if it appears as part of a declarator-id (9.3 [dcl.decl]). [Note: For operator-function-ids, see...
[Accepted as a DR at the June, 2018 (Rapperswil) meeting.]
According to 7.5.5.2 [expr.prim.id.unqual] paragraph 1,
An identifier is an id-expression provided it has been suitably declared (Clause 9 [dcl.dcl]).
Not only is an identifier an id-expression by (grammatical) definition, declarator-id is defined in terms of id-expression, which makes this circular. If the intention was to disallow use of undeclared identifiers as primary expressions, this should be altered accordingly.
History | |||
---|---|---|---|
Date | User | Action | Args |
2020-12-15 00:00:00 | admin | set | status: tentatively ready -> cd5 |
2018-02-27 00:00:00 | admin | set | messages: + msg5853 |
2018-02-27 00:00:00 | admin | set | status: open -> tentatively ready |
2016-03-17 00:00:00 | admin | create |