From: Marc Glisse Date: Thu, 18 Aug 2011 16:56:55 +0000 (+0000) Subject: cmath: Extend/update comment. X-Git-Tag: releases/gcc-4.7.0~4391 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=079a5ca908d071303b0133eb93d2a7db5ff55330;p=thirdparty%2Fgcc.git cmath: Extend/update comment. 2011-08-18 Marc Glisse * include/tr1/cmath: Extend/update comment. From-SVN: r177873 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2145f89ea6d6..cd89789538ea 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2011-08-18 Marc Glisse + + * include/tr1/cmath: Extend/update comment. + 2011-08-18 Paolo Carlini PR libstdc++/50119 diff --git a/libstdc++-v3/include/tr1/cmath b/libstdc++-v3/include/tr1/cmath index d104572088f3..06631e51e973 100644 --- a/libstdc++-v3/include/tr1/cmath +++ b/libstdc++-v3/include/tr1/cmath @@ -567,6 +567,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // Note: we deal with fabs in a special way, because an using std::fabs // would bring in also the overloads for complex types, which in C++0x // mode have a different return type. + // With __CORRECT_ISO_CPP_MATH_H_PROTO1, math.h imports std::fabs in the + // global namespace after the declarations of the float / double / long + // double overloads but before the std::complex overloads. using ::fabs; #ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1