Boost logo

Boost Users :

From: Jens Seidel (jensseidel_at_[hidden])
Date: 2008-06-16 15:06:17


Hi Ovanes,

On Mon, Jun 16, 2008 at 06:19:57PM +0200, Ovanes Markarian wrote:
> >
> > Right, null_ptr will be part of C++. Nevertheless NULL was never part of
> > C++! g++ defines it for convenience, the Intel compiler does not.
> >
> At least C++ Standard (ISO/IEC 14882:2003(E)) states:

thanks for this information. You noticed that I confused things :-)
Changing "C++ doesn't define NULL" into "... as (void*)0" was more or
less what I mean.

> And this is what Stroustrup states:
> http://www.research.att.com/~bs/bs_faq2.html#null

Yep, I'm at least aware of this ...

Jens


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net