[ub] Lvalue-to-rvalue conversion and reinterpret_cast-ed two's complement integers

Language Lawyer language.lawyer at gmail.com
Tue Jul 2 05:19:31 CEST 2019


On 27/06/2019 09:16, Jens Maurer wrote:
> Why doesn't bit_cast<> satisfy your needs?

I don't have needs to reinterpret_cast or bit_cast `-1` as `unsigned int`.
I've just proposed to slightly reduce the amount of UB, given that it likely would require no action from implementations.


More information about the ub mailing list