cmath: Extend/update comment.
authorMarc Glisse <marc.glisse@normalesup.org>
Thu, 18 Aug 2011 16:56:55 +0000 (16:56 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 18 Aug 2011 16:56:55 +0000 (16:56 +0000)
2011-08-18  Marc Glisse  <marc.glisse@normalesup.org>

* include/tr1/cmath: Extend/update comment.

From-SVN: r177873

libstdc++-v3/ChangeLog
libstdc++-v3/include/tr1/cmath

index 2145f89ea6d6171a80d46bceb0e1070de4458807..cd89789538eac76c3e32d21be6e5ad9e0098d6e4 100644 (file)
@@ -1,3 +1,7 @@
+2011-08-18  Marc Glisse  <marc.glisse@normalesup.org>
+
+       * include/tr1/cmath: Extend/update comment.
+
 2011-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR libstdc++/50119
index d104572088f39eaba6ccfb19d00a3719baf4580a..06631e51e97303a3596d8b4802e688e05c9cc423 100644 (file)
@@ -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