C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Standardising 0xdeadbeef for pointers

From: Sebastian Wittmeier <wittmeier_at_[hidden]>
Date: Thu, 31 Jul 2025 20:16:40 +0200
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_at_[hidden]> Gesendet:Do 31.07.2025 20:23 Betreff:Re: [std-proposals] Standardising 0xdeadbeef for pointers An:std-proposals_at_[hidden]; CC:Andrey Semashev <andrey.semashev_at_[hidden]>; 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_at_[hidden] https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals

Received on 2025-07-31 18:26:43