This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r142704 - in /branches/gcc-4_3-branch/libstdc++...
- From: jakub at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Fri, 12 Dec 2008 08:46:27 -0000
- Subject: r142704 - in /branches/gcc-4_3-branch/libstdc++...
Author: jakub
Date: Fri Dec 12 08:46:26 2008
New Revision: 142704
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142704
Log:
PR c++/37582
* include/bits/cpp_type_traits.h (struct __traitand): New.
* include/c_global/cmath (std::atan2, std::pow): Use __traitand
instead of && as first argument to __enable_if.
* include/c_std/cmath (std::atan2): Likewise.
* testsuite/26_numerics/headers/cmath/37582.cc: New.
Added:
branches/gcc-4_3-branch/libstdc++-v3/testsuite/26_numerics/headers/cmath/37582.cc
Modified:
branches/gcc-4_3-branch/libstdc++-v3/ChangeLog
branches/gcc-4_3-branch/libstdc++-v3/include/bits/cpp_type_traits.h
branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cmath
branches/gcc-4_3-branch/libstdc++-v3/include/c_std/cmath