C++ Logo


Advanced search

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

From: Lyberta <lyberta_at_[hidden]>
Date: Fri, 25 Jan 2019 10:30:00 +0000
Tom Honermann:
> I'm not following. std::to_integer is (currently, unless I missed a
> proposal) only overloaded to provide the value of a std::byte as an
> integral type. I don't understand the motivation here, nor the
> association with the char8_t remediation paper.
> Tom.

This paper makes std::cout << u8'x' ill-formed. I suggest to use
std::to_integer to make it well-formed again.

Received on 2019-01-25 11:30:27