"Dmitry Timoshkov" dmitry@codeweavers.com writes:
Have you read it at all? NULL is guaranteed to be 0 in all contexts.
If some C++ compiler decides to generate not 0 data while converting/casting a NULL pointer, it should be declared broken.
The point is that (void*)0 isn't guaranteed to be represented by an all-zero bit pattern; but that's the case on any platform worth worrying about.