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:49:14 -0400
Thank you for sharing this.

Would you be willing to put together a short paper that proposes
allowing $ in identifiers in C++?

Tom.

On 7/5/23 12:27 PM, Hubert Tong 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).
>
> 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:49:15