Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2000-11-25 11:06:49


----- Original Message -----
From: "Jesse Jones" <jesjones_at_[hidden]>

> >You may be right about overloading, but nonetheless Kevlin is correct
that
> >"NULL [is] not generally considered part of the received C++ style."
>
> Readibility is, to me, one of the most important attributes of code and
> there's no question in my mind that "p = NULL" is more readable than "p =
> 0". I don't care of every member of the comittee frowns on the practice.
> I'll continue to use NULL outside of boost.

There is a way to write "null" so that it means what we all want: a null
pointer constant that can be used to initialize any pointer but which isn't
convertible to an integer. Probably it should be part of boost. The
discussion can be seen at:

http://www.egroups.com/message/boost/1557

-Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk