Date: Tue, 09 Sep 2025 19:10:40 -0700
On Tuesday, 9 September 2025 18:24:05 Pacific Daylight Time Halalaluyafail3 via
Std-Proposals wrote:
> C++ allows 0z as a null pointer constant, what's the reason to need to be
> more strict in this regard?
0z is not a new type. It's the same as either 0U, 0UL, or 0ULL, depending on
the platform, all of which are already currently allowed to be a null pointer
constant.
Bit-precise integers are a new type. They can have new conversion and
promotion rules.
Std-Proposals wrote:
> C++ allows 0z as a null pointer constant, what's the reason to need to be
> more strict in this regard?
0z is not a new type. It's the same as either 0U, 0UL, or 0ULL, depending on
the platform, all of which are already currently allowed to be a null pointer
constant.
Bit-precise integers are a new type. They can have new conversion and
promotion rules.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel Platform & System Engineering
Received on 2025-09-10 02:10:50