Title
Identifier character restrictions in non-identifiers
Status
cd6
Section
5.10 [lex.name]
Submitter
Richard Smith

Created on 2014-07-15.00:00:00 last changed 27 months ago

Messages

Date: 2021-06-15.00:00:00

[Accepted at the June, 2021 meeting as part of paper P1949R7 (C++ Identifier Syntax using Unicode Standard Annex 31).]

According to 5.10 [lex.name] paragraph 1,

Each universal-character-name in an identifier shall designate a character whose encoding in ISO 10646 falls into one of the ranges specified in _N4606_.E.1 [charname.allowed].

However, identifier-nondigit is also used in the grammar for pp-number. Should this restriction also be understood to apply in that non-identifier context?

History
Date User Action Args
2022-08-19 07:54:33adminsetstatus: wp -> cd6
2022-03-27 20:51:22adminsetstatus: open -> wp
2014-07-15 00:00:00admincreate