9 Mar
2007
9 Mar
'07
4:16 p.m.
"Dmitry Timoshkov" <dmitry(a)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. -- Alexandre Julliard julliard(a)winehq.org