AFAIK

 

NULL does not have to be represented by actual 0.

But if you assign a 0 to a pointer, it has to be converted to NULL.
 

-----Ursprüngliche Nachricht-----
Von: Andrey Semashev via Std-Proposals <std-proposals@lists.isocpp.org>
Gesendet: Do 31.07.2025 20:23
Betreff: Re: [std-proposals] Standardising 0xdeadbeef for pointers
An: std-proposals@lists.isocpp.org;
CC: Andrey Semashev <andrey.semashev@gmail.com>;
On 31 Jul 2025 21:24, zxuiji via Std-Proposals wrote:
> After seeing all this nonsense I sure am glad I never have to deal with
> it since I stick to C where sanity reigns... at least until your foot
> gets shot XD

If you think C is different wrt. pointer definition, think again.

--
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals