From 079a5ca908d071303b0133eb93d2a7db5ff55330 Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Thu, 18 Aug 2011 16:56:55 +0000 Subject: cmath: Extend/update comment. 2011-08-18 Marc Glisse * include/tr1/cmath: Extend/update comment. From-SVN: r177873 --- libstdc++-v3/include/tr1/cmath | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libstdc++-v3/include/tr1') diff --git a/libstdc++-v3/include/tr1/cmath b/libstdc++-v3/include/tr1/cmath index d104572088f..06631e51e97 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 -- cgit v1.2.1