C++ Logo

sg16

Advanced search

Request for discussion on C++ synchronization with WG 14 N3145: $ in Identifiers

From: Hubert Tong <hubert.reinterpretcast_at_[hidden]>
Date: Wed, 5 Jul 2023 12:27:33 -0400
We adopted, in Varna, a paper that adds $ to the basic character set. The
week after, the C committee decided (for the C23 DIS) that $ can be used
within identifiers (including in the initial position).

We should consider keeping C and C++ in sync.

Note that we already have examples of u"text", etc. where identifier
non-digits form the initial portion of non-identifier pp-tokens.

-- HT

Received on 2023-07-05 16:28:03