summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/tr1
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@normalesup.org>2011-08-18 16:56:55 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2011-08-18 16:56:55 +0000
commit079a5ca908d071303b0133eb93d2a7db5ff55330 (patch)
tree210f2ae634b1527078a0e328a7267b6eb8a3ee20 /libstdc++-v3/include/tr1
parent6ba30237b918e2d8c35bf481767ccd525499625e (diff)
downloadgcc-079a5ca908d071303b0133eb93d2a7db5ff55330.tar.gz
cmath: Extend/update comment.
2011-08-18 Marc Glisse <marc.glisse@normalesup.org> * include/tr1/cmath: Extend/update comment. From-SVN: r177873
Diffstat (limited to 'libstdc++-v3/include/tr1')
-rw-r--r--libstdc++-v3/include/tr1/cmath3
1 files changed, 3 insertions, 0 deletions
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