0_0_36601316_27358.cpp: In function 'int main()':
0_0_36601316_27358.cpp:64:14: error: no matching function for call to 'fabs(double (&)())'
if(fabs(ls1) > fabs(ls2))
^
0_0_36601316_27358.cpp:64:14: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_36601316_27358.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:181:31: note: double fabs(double)
__CRT_INLINE double __cdecl fabs (double x)
^
GCC4.9.2/x86_64-w64-mingw32/include/math.h:181:31: note: no known conversion for argument 1 from 'double()' to 'double'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:38:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_36601316_27358.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:272:5: note: template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::fabs(_Tp)
fabs(_Tp __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:272:5: note: template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath: In substitution of 'template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::fabs(_Tp) [with _Tp = double (*)()]':
0_0_36601316_27358.cpp:64:14: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:272:5: error: no type named '__type' in 'struct __gnu_cxx::__enable_if<false, double>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:264:3: note: constexpr long double std::fabs(long double)
fabs(long double __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:264:3: note: no known conversion for argument 1 from 'double()' to 'long double'
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:260:3: note: constexpr float std::fabs(float)
fabs(float __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:260:3: note: no known conversion for argument 1 from 'double()' to 'float'
0_0_36601316_27358.cpp:64:26: error: no matching function for call to 'fabs(double (&)())'
if(fabs(ls1) > fabs(ls2))
^
0_0_36601316_27358.cpp:64:26: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_36601316_27358.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:181:31: note: double fabs(double)
__CRT_INLINE double __cdecl fabs (double x)
^
GCC4.9.2/x86_64-w64-mingw32/include/math.h:181:31: note: no known conversion for argument 1 from 'double()' to 'double'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:38:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_36601316_27358.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:272:5: note: template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::fabs(_Tp)
fabs(_Tp __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:272:5: note: template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath: In substitution of 'template<class _Tp> constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::fabs(_Tp) [with _Tp = double (*)()]':
0_0_36601316_27358.cpp:64:26: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:272:5: error: no type named '__type' in 'struct __gnu_cxx::__enable_if<false, double>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:264:3: note: constexpr long double std::fabs(long double)
fabs(long double __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:264:3: note: no known conversion for argument 1 from 'double()' to 'long double'
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:260:3: note: constexpr float std::fabs(float)
fabs(float __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:260:3: note: no known conversion for argument 1 from 'double()' to 'float'
|