diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-01 13:30:34 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-01 13:30:34 +0000 |
commit | 6e8739c9b4474c1f831b8e414d6698c59b773504 (patch) | |
tree | ef8365e2ad9f69adc048d74eff957ed4c0348df2 /libstdc++-v3/include/c_std | |
parent | b70a5a9907c43f800f43c9e925664f7593c1776a (diff) | |
download | gcc-6e8739c9b4474c1f831b8e414d6698c59b773504.tar.gz |
2005-02-01 Paolo Carlini <pcarlini@suse.de>
* include/bits/cpp_type_traits.h: Rename _M_type fields to
__value, except for __enable_if, _M_type -> __type, consistently
with the other traits.
* include/bits/stl_algobase.h: Tweak consistently.
* include/bits/stl_tree.h: Likewise.
* include/bits/valarray_array.h: Likewise.
* include/c_std/std_cmath.h: Likewise.
* include/debug/safe_iterator.h: Likewise.
* include/std/std_complex.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94538 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_std')
-rw-r--r-- | libstdc++-v3/include/c_std/std_cmath.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/libstdc++-v3/include/c_std/std_cmath.h b/libstdc++-v3/include/c_std/std_cmath.h index 50ee582c7a3..5aefe0ff8ac 100644 --- a/libstdc++-v3/include/c_std/std_cmath.h +++ b/libstdc++-v3/include/c_std/std_cmath.h @@ -107,7 +107,7 @@ namespace std { return __builtin_acosl(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type acos(_Tp __x) { return __builtin_acos(__x); @@ -124,7 +124,7 @@ namespace std { return __builtin_asinl(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type asin(_Tp __x) { return __builtin_asin(__x); } @@ -139,7 +139,7 @@ namespace std { return __builtin_atanl(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type atan(_Tp __x) { return __builtin_atan(__x); } @@ -154,8 +154,8 @@ namespace std { return __builtin_atan2l(__y, __x); } template<typename _Tp, typename _Up> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type - && __is_integer<_Up>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value + && __is_integer<_Up>::__value>::__type atan2(_Tp __y, _Up __x) { return __builtin_atan2(__y, __x); } @@ -170,7 +170,7 @@ namespace std { return __builtin_ceill(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type ceil(_Tp __x) { return __builtin_ceil(__x); } @@ -185,7 +185,7 @@ namespace std { return __builtin_cosl(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type cos(_Tp __x) { return __builtin_cos(__x); } @@ -200,7 +200,7 @@ namespace std { return __builtin_coshl(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type cosh(_Tp __x) { return __builtin_cosh(__x); } @@ -215,7 +215,7 @@ namespace std { return __builtin_expl(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type exp(_Tp __x) { return __builtin_exp(__x); } @@ -230,7 +230,7 @@ namespace std { return __builtin_fabsl(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type fabs(_Tp __x) { return __builtin_fabs(__x); } @@ -245,7 +245,7 @@ namespace std { return __builtin_floorl(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type floor(_Tp __x) { return __builtin_floor(__x); } @@ -270,7 +270,7 @@ namespace std { return __builtin_frexpl(__x, __exp); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type frexp(_Tp __x, int* __exp) { return __builtin_frexp(__x, __exp); } @@ -285,7 +285,7 @@ namespace std { return __builtin_ldexpl(__x, __exp); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type ldexp(_Tp __x, int __exp) { return __builtin_ldexp(__x, __exp); } @@ -300,7 +300,7 @@ namespace std { return __builtin_logl(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type log(_Tp __x) { return __builtin_log(__x); } @@ -315,7 +315,7 @@ namespace std { return __builtin_log10l(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type log10(_Tp __x) { return __builtin_log10(__x); } @@ -371,7 +371,7 @@ namespace std { return __builtin_sinl(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type sin(_Tp __x) { return __builtin_sin(__x); } @@ -386,7 +386,7 @@ namespace std { return __builtin_sinhl(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type sinh(_Tp __x) { return __builtin_sinh(__x); } @@ -401,7 +401,7 @@ namespace std { return __builtin_sqrtl(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type sqrt(_Tp __x) { return __builtin_sqrt(__x); } @@ -416,7 +416,7 @@ namespace std { return __builtin_tanl(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type tan(_Tp __x) { return __builtin_tan(__x); } @@ -431,7 +431,7 @@ namespace std { return __builtin_tanhl(__x); } template<typename _Tp> - inline typename __enable_if<double, __is_integer<_Tp>::_M_type>::_M_type + inline typename __enable_if<double, __is_integer<_Tp>::__value>::__type tanh(_Tp __x) { return __builtin_tanh(__x); } } |