On Wed, Aug 10, 2022 at 08:37:13AM +0200, Corentin via Liaison wrote:
> > P2320R0 (https://wg21.link/p2620r0) Lifting artificial restrictions on
> > unviversal character names
> > Proposes to relax a restriction that a universal character name cannot
> > be used in place of a character in the basic character set, which is a
> > restriction that C has but C++ does not. The author is looking for
> > feedback on any concerns people have with unifying the behavior in
> > both languages to match the C++ behavior.
> >
>
> New revision which will be in the august mailing
> https://isocpp.org/files/papers/P2620R1.pdf
I don't understand how the wording is supposed to work as you are
still replacing universal-character-names in
https://eel.is/c++draft/lex.phases#1.3.sentence-6. Did you intend to
change that?
Ugh, thanks for noticing that.
Yes, the intent was to remove that sentence entirely, and I can see how not removing it could have led to a lot of confusion,
sorry about that.
The idea is that UCNs can ever appear in identifiers (and strings) and are therefore only replaced there (Thanks Jens for the wording suggestion)
Christof
--
https://cmeerw.org sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org xmpp:cmeerw at cmeerw.org