Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Mar 2004 23:31:01 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        rivers@dignus.com
Cc:        mark@grondar.org
Subject:   Re: NULL vs 0 vs 0L bikeshed time
Message-ID:  <20040301.233101.81684205.imp@bsdimp.com>
In-Reply-To: <200403011315.i21DFvC95798@lakes.dignus.com>
References:  <200402291546.i1TFkZ0w070591@grimreaper.grondar.org> <200403011315.i21DFvC95798@lakes.dignus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200403011315.i21DFvC95798@lakes.dignus.com>
            Thomas David Rivers <rivers@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040301.233101.81684205.imp>