From: Peter Dimov (pdimov_at_[hidden])
Date: 2022-05-30 00:22:28


Emil Dotchevski wrote:
> In C++ it is not allowed for NULL to be of type void* (it is allowed in C).
>
> It could be some __null thing, but it has to behave the same as 0, except
> maybe generate appropriate warnings.

That's exactly what it is under GCC.

https://gcc.gnu.org/onlinedocs/libstdc++/manual/support.html#std.support.types.null