C++ Logo

std-proposals

Advanced search

Re: [std-proposals] P3695R0 Deprecate implicit conversions between char8_t, char16_t, and char32_t

From: Christof Meerwald <cmeerw_at_[hidden]>
Date: Fri, 16 May 2025 16:05:39 +0200
On Fri, May 16, 2025 at 02:20:07PM +0200, Jan Schultke via Std-Proposals wrote:
> Hi,
>
> https://isocpp.org/files/papers/P3695R0.html will be in the next mailing.
>
> It seems like people almost universally dislike this implicit conversion,
> and overall, deprecation has been received very positively. However, I'd
> still be interested in your thoughts on this.

Does this also deprecate "static_cast<char32_t>(u8' ')"?

In the change of [conv.integral] paragraph 1 - why is the second
bullet needed? (btw, missing "is"?)

  s the result of an integral promotion ([conv.prom]) applied to a
  Unicode character type other than D.


Christof

-- 
https://cmeerw.org                             sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org

Received on 2025-05-16 14:05:43