Oct. 28, 2022
1:23 a.m.
On 10/27/22 15:53, Brian Inglis via tz wrote:
Itanium NULL pointer representation is -1:
That's talking about null data member pointers, not null pointers. Data member pointers are a C++ concept and are different animals from pointers. Some C++ implementations represent null data member pointers with 0, some with -1 (both ideas work reasonably well). Either way, adding 0 to one gives you the same data member pointer you started off with, namely, a null data member pointer (not that this matters for C).