C++ Logo

SG16

Advanced search

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


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.




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