0_0_38845762_13898.cpp: In function 'double integral(double, double, const std::function<double(double)>&)':
0_0_38845762_13898.cpp:256:12: error: reference to 'integral' is ambiguous
256 | return integral(l,m,F) + integral(m,r,F);
| ^~~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/compare:37,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:65,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:64,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:60,
from .\stdc++.h:51:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:100:13: note: candidates are: 'template<class _Tp> concept std::integral'
100 | concept integral = is_integral_v<_Tp>;
| ^~~~~~~~
0_0_38845762_13898.cpp:252:8: note: 'double integral(double, double, const std::function<double(double)>&)'
252 | double integral(double l,double r,const function<double(double )> &F){
| ^~~~~~~~
0_0_38845762_13898.cpp:256:30: error: reference to 'integral' is ambiguous
256 | return integral(l,m,F) + integral(m,r,F);
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:100:13: note: candidates are: 'template<class _Tp> concept std::integral'
100 | concept integral = is_integral_v<_Tp>;
| ^~~~~~~~
0_0_38845762_13898.cpp:252:8: note: 'double integral(double, double, const std::function<double(double)>&)'
252 | double integral(double l,double r,const function<double(double )> &F){
| ^~~~~~~~
0_0_38845762_13898.cpp: In function 'void solve(int)':
0_0_38845762_13898.cpp:266:13: error: reference to 'integral' is ambiguous
266 | cout << integral(l,r,f) << "\n";
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:100:13: note: candidates are: 'template<class _Tp> concept std::integral'
100 | concept integral = is_integral_v<_Tp>;
| ^~~~~~~~
0_0_38845762_13898.cpp:252:8: note: 'double integral(double, double, const std::function<double(double)>&)'
252 | double integral(double l,double r,const function<double(double )> &F){
| ^~~~~~~~
|