C++ Logo

sg16

Advanced search

Re: [SG16] P1885 polling

From: Jens Maurer <Jens.Maurer_at_[hidden]>
Date: Fri, 24 Sep 2021 15:05:25 +0200
On 24/09/2021 14.09, Peter Brett wrote:
>> -----Original Message-----
>> From: Jens Maurer <Jens.Maurer_at_[hidden]>
>> Sent: 24 September 2021 13:05
>> To: Corentin <corentin.jabot_at_[hidden]>
>> Subject: Re: [SG16] P1885 polling
>>
>> Consider a little-endian platform with UTF-16 wchar_t. What should
>> wide_literal()
>> return? UTF16 or UTF16LE ?
>
> Yes, exactly: UTF16 or UTF16LE.

So, which one?

Note that the user is someone writing a program and trying to
make sense of the result, for example just failing compilation
if expectations are not met.

Jens

Received on 2021-09-24 08:05:37