C++ Logo

sg16

Advanced search

Re: [SG16-Unicode] Draft: char8_t backward compatibility remediation paper

From: Lyberta <lyberta_at_[hidden]>
Date: Thu, 24 Jan 2019 23:25:00 +0000
Tom Honermann:
> Attached is the revision that was submitted for the Kona pre-meeting
> mailing. My apologies for not getting this out sooner.
>
> Tom.

How about extending std::to_integer so developers wouldn't need to
invent casts to print code units and string literals?

std::cout << std::to_integer(u8'x');
std::cout << std::to_integer(u8"Hello");


Received on 2019-01-25 00:35:10