C++ Logo

sg16

Advanced search

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

From: Tom Honermann <tom_at_[hidden]>
Date: Wed, 5 Jul 2023 12:51:38 -0400
On 7/5/23 12:43 PM, Jens Maurer wrote:
> 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 ?

Other recent changes to what is and is not allowed in an identifier
originated in SG16. This seems in scope to me.

Tom.

>
>> 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:51:40