mirror of git://gcc.gnu.org/git/gcc.git
cmath: Extend/update comment.
2011-08-18 Marc Glisse <marc.glisse@normalesup.org> * include/tr1/cmath: Extend/update comment. From-SVN: r177873
This commit is contained in:
parent
6ba30237b9
commit
079a5ca908
|
@ -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>
|
2011-08-18 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
PR libstdc++/50119
|
PR libstdc++/50119
|
||||||
|
|
|
@ -567,6 +567,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
// Note: we deal with fabs in a special way, because an using std::fabs
|
// 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
|
// would bring in also the overloads for complex types, which in C++0x
|
||||||
// mode have a different return type.
|
// 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;
|
using ::fabs;
|
||||||
|
|
||||||
#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1
|
#ifndef __CORRECT_ISO_CPP_MATH_H_PROTO1
|
||||||
|
|
Loading…
Reference in New Issue