brucem added a comment.

In, @dim wrote:

> In, @EricWF wrote:
> > So my main concern with this patch is that `nullptr` is actually  
> > `#defined`'ed in C++03 mode. That definition comes from the `__nullptr` 
> > header, and therefore we would need to add that header to each include 
> > which uses it. Which kind of sucks.
> Indeed, but isn't `nullptr` used in many headers already?  And as far as I 
> can see, none of those includes <__nullptr> explicitly, so the definition 
> must come from some transitive include.

It is handled in the wrapper around `stddef.h` so it all should just work.

  rCXX libc++

cfe-commits mailing list

Reply via email to