C++ Logo

sg16

Advanced search

Re: CWG 2640 n-char sequence relaxation: Allow brace pairs inside?

From: Hubert Tong <hubert.reinterpretcast_at_[hidden]>
Date: Wed, 9 Nov 2022 09:20:31 -0500
On Wed, Nov 9, 2022 at 1:57 AM Corentin Jabot via SG16 <
sg16_at_[hidden]> wrote:

> \N{\N{}} ?
>
> No, I really don't see the value in that, unicode character names are
> specified in a fixed set of characters, that is very unlikely to change
> (because these names are designed to be usable in a context where
> displaying/processing unicode is not possible)
>

So the current wide allowance is expected purely for lexing purposes?
(That's fine I guess).


>
>
> On Tue, Nov 8, 2022 at 8:50 PM Hubert Tong via SG16 <sg16_at_[hidden]>
> wrote:
>
>> Does it make sense to anticipate that we may want \N{} escapes within
>> n-char sequences someday and allow nested brace pairs today to reduce churn?
>>
>> https://cplusplus.github.io/CWG/issues/2640.html
>>
>> --
>> SG16 mailing list
>> SG16_at_[hidden]
>> https://lists.isocpp.org/mailman/listinfo.cgi/sg16
>>
> --
> SG16 mailing list
> SG16_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/sg16
>

Received on 2022-11-09 14:21:00