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

Lyberta lyberta at lyberta.net
Fri Jan 25 00:25:00 CET 2019


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://www.open-std.org/pipermail/unicode/attachments/20190124/18900a6d/attachment.bin 


More information about the Unicode mailing list