------- Comment #7 from redi at gcc dot gnu dot org 2010-06-21 15:56 ------- (In reply to comment #6) > To be honest, I have zero doubts about nullptr_t: nowhere 18.2 hints at > providing it in the global namespace, per se.
[depr.c.headers]/3 "The header <stdlib.h> assuredly provides the same declarations and definitions within the global namespace" Note "the same declarations", not "the subset of declarations defined in the C standard" > About signbit, if it's a macro in C it has to be undefined in order to > implement the <cmath> facility in c++0x, see 26.8/11. Really, I don't see how > the macro and the template can co-exist: "The templates defined in <cmath> > replace the C macros with the same names" and the templates are specified in > namespace std. I agree the macro and template can't co-exist, but the template could be available as both std::signbit and ::signbit, and I think that's required by appendix D. I agree this isn't ideal, and DR456 tried to help, I don't think DR456 goes far enough in relaxing the requirements on implementations. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44611