0_0_26446513_22900.cpp: In function 'int main()':
0_0_26446513_22900.cpp:42:16: error: reference to 'function' is ambiguous
int a1=function(x,y);//cout<<a1<<endl;
^
0_0_26446513_22900.cpp:6:5: note: candidates are: int function(double, double)
int function(double x,double y){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70:0,
from 0_0_26446513_22900.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:1834:11: note: template<class _Signature> class std::function
class function;
^
0_0_26446513_22900.cpp:43:16: error: reference to 'function' is ambiguous
int a2=function(x,y+1-0.00000001);
^
0_0_26446513_22900.cpp:6:5: note: candidates are: int function(double, double)
int function(double x,double y){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70:0,
from 0_0_26446513_22900.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:1834:11: note: template<class _Signature> class std::function
class function;
^
|