C++ Logo

SG16

Advanced search

Subject: Re: [SG16-Unicode] Draft: char8_t backward compatibility remediation paper
From: Lyberta (lyberta_at_[hidden])
Date: 2019-01-24 17:25:00


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");




SG16 list run by sg16-owner@lists.isocpp.org