Topic: Null pointer, again
Author: David R Tribble <david.tribble@central.beasys.com>
Date: 1998/01/07 Raw View
Quoting from the "Features" page for the new EGCS C++ compiler (1.0)
(see <http://www.cygnus.com/egcs/c++features.html>):
(void *)0 is no longer considered a null pointer constant; NULL in
is now defined as __null, a magic constant of type (void *)
normally, or (size_t) with -ansi.
So there is hope after all of achieving a "common practice" for using a
real null pointer in C++.
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]