C++ Logo

sg16

Advanced search

Re: Agenda for the 2024-04-24 SG16 meeting

From: Jens Maurer <jens.maurer_at_[hidden]>
Date: Fri, 19 Apr 2024 08:15:44 +0200
On 19/04/2024 03.37, Daveed Vandevoorde via SG16 wrote:
>
>
>> On Apr 18, 2024, at 7:21 PM, Tom Honermann <tom_at_[hidden]> wrote:
>> ... The contents of the string_view consist of characters of the basic source character set only (an implementation can map other characters using universal character names).
>>
>
> Right. You mentioned in Tokyo that that doesn’t work. Can you elaborate what the technical hickup is?

Universal-character-names are interpreted when transitioning
the lexical representation of a string-literal into an object
containing code units [lex.string], or when lexing tokens
outside of string-literals in translation phase 3 [lex.phases].

Nothing will interpret universal-character-names (as such) in
a string_view, because it is already assumed to be a range of
code units.

Jens

Received on 2024-04-19 06:15:57