[omniORB] [omnithread] Why is NULL defined as (void*)0?
Christof Meerwald
cmeerw@web.de
Fri, 24 Aug 2001 12:36:17 +0200
On Fri, 24 Aug 2001 09:55:40 +0100, Keeley, Michael wrote:
[...]
> In Stroustrop's C++ (3rd ed) p5.1.1 he even recommends defining NULL as
> const int NULL = 0;
...and the ISO C++ standard says about the NULL macro (in section 18.1
[lib.support.types]): "Possible definitions include 0 and 0L, but not
(void*)0."
> -----Original Message-----
>> In the omnithread.h header, NULL is defined to be (void*)0.
[...]
bye, Christof
--
http://cmeerw.cjb.net Jabber: cmeerw@jabber.at
mailto cmeerw at web.de ICQ: 93773535, Yahoo!: cmeerw