------- Comment #5 from jakub at gcc dot gnu dot org 2008-10-22 21:22 ------- Couldn't cmath just use: template<typename _Tp, typename _Up> inline typename __gnu_cxx::__promote_2< - typename __gnu_cxx::__enable_if<__is_arithmetic<_Tp>::__value - && __is_arithmetic<_Up>::__value, + typename __gnu_cxx::__enable_if<bool(__is_arithmetic<_Tp>::__value) + && bool(__is_arithmetic<_Up>::__value), _Tp>::__type, _Up>::__type pow(_Tp __x, _Up __y) { ... ? Though 4.4 cc1plus doesn't complain...
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bkoz at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37582