Created on 2025-02-20.00:00:00 last changed 2 days ago
Proposed resolution (approved by CWG 2026-03-06):
Change in 6.1 [basic.pre] paragraph 3 as follows and add bullets:
A name is
- an identifier token (5.10 [lex.token], 5.11 [lex.name]) other than
- the identifier of a label (8.2 [stmt.label]) or literal-operator-id (12.6 [over.literal]),
- the identifier following a goto in a jump-statement (8.8.1 [stmt.jump.general]),
- any identifier in a module-name (10.1 [module.unit]) or attribute-token (9.13.1 [dcl.attr.grammar]), or
- a conversion-function-id (11.4.8.3 [class.conv.fct]),
- an operator-function-id (12.4 [over.oper]), or
- a literal-operator-id (12.6 [over.literal]).
(From submission #673.)
Subclause 6.1 [basic.pre] paragraph 3 specifies:
A name is an identifier (5.11 [lex.name]), conversion-function-id (11.4.8.3 [class.conv.fct]), operator-function-id (12.4 [over.oper]), or literal-operator-id (12.6 [over.literal]).
That seems to incorrectly include identifier labels per the grammar in 8.2 [stmt.label] paragraph 1 as well as attributes per the grammar in 9.13.1 [dcl.attr.grammar] paragraph 1.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2026-03-06 21:39:32 | admin | set | status: review -> tentatively ready |
| 2026-02-06 22:00:31 | admin | set | status: open -> review |
| 2025-11-06 23:04:52 | admin | set | messages: + msg8343 |
| 2025-02-20 00:00:00 | admin | create | |