NULL vs 0 vs 0L bikeshed time

M. Warner Losh imp at bsdimp.com
Mon Mar 1 22:31:49 PST 2004


In message: <200403011315.i21DFvC95798 at lakes.dignus.com>
            Thomas David Rivers <rivers at dignus.com> writes:
:  But - I believe (and I need to check on this) that the C++
:  standard requires the NULL constant to be a pointer type (so
:  various conversions work.)

C++ needs it to be a 0, not a pointer.

Warner


More information about the freebsd-current mailing list