C++ Logo

sg16

Advanced search

Re: [SG16] P2071 - Named universal character escapes

From: Corentin Jabot <corentinjabot_at_[hidden]>
Date: Wed, 22 Sep 2021 17:37:07 +0200
On Wed, Sep 22, 2021 at 5:24 PM Tom Honermann <tom_at_[hidden]> wrote:

> On 9/22/21 2:03 AM, Jens Maurer wrote:
>
> On 22/09/2021 03.41, Steve Downey via SG16 wrote:
>
> In view of the acceptance of p2290 delimited escape sequences, I think allowing named universal escapes everywhere UCNs are now might make more sense than restricting them to just in literals?
>
> Agreed.
>
> Likewise. I think we should just make them an alternate spelling of
> *universal-character-name*.
>
It would certainly be the simpler option.
FYI in clang this is twice the work because there are two code paths, but
it's not a huge amount of work either.
I would not expect that capability to be used by anyone though.

> Tom.
>
>
>

Received on 2021-09-22 10:37:20