C++ Logo

sg16

Advanced search

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

From: Jens Maurer <jens.maurer_at_[hidden]>
Date: Wed, 5 Jul 2023 18:43:22 +0200
On 05/07/2023 18.27, Hubert Tong via SG16 wrote:
> 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).

Oh. Interesting. They do that as late as a DIS? How brave.

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

Why is that a topic for SG16 ?

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

Why is that statement relevant for the question whether "$" should
be part of (I guess) /nondigit/, similar to underscore?

Jens

Received on 2023-07-05 16:43:27