[cfe-commits] r58685 - /cfe/trunk/lib/Headers/stddef.h

Douglas Gregor dgregor at apple.com
Tue Nov 4 06:34:08 PST 2008


On Nov 4, 2008, at 9:03 AM, Sebastian Redl wrote:
> More interesting than __null would be to implement nullptr, the real
> null pointer constant from C++0x.


Even with an implementation of nullptr, we probably wouldn't want to  
#define NULL nullptr. The C++ committee decided not to create this  
define (since it will break existing code), and we should follow their  
lead.

That said, I'd like to avoid implementing the __null oddity if we can.

	- Doug



More information about the cfe-commits mailing list