
16 Jun
2008
16 Jun
'08
7:06 p.m.
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