In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:71:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
from 1_858_4266_26385.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h: In instantiation of 'bool __gnu_cxx::__ops::_Val_comp_iter<_Compare>::operator()(_Value&, _Iterator) [with _Value = const int; _Iterator = dd*; _Compare = cmp3]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2054:30: required from '_ForwardIterator std::__upper_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = dd*; _Tp = int; _Compare = __gnu_cxx::__ops::_Val_comp_iter<cmp3>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2125:46: required from '_FIter std::upper_bound(_FIter, _FIter, const _Tp&, _Compare) [with _FIter = dd*; _Tp = int; _Compare = cmp3]'
1_858_4266_26385.cpp:62:51: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:166:37: error: no match for call to '(cmp3) (const int&, dd&)'
{ return bool(_M_comp(__val, *__it)); }
^
1_858_4266_26385.cpp:51:8: note: candidate is:
struct cmp3
^
1_858_4266_26385.cpp:53:10: note: bool cmp3::operator()(const dd&, const dd&) const
bool operator () (const dd &a,const dd &b) const {
^
1_858_4266_26385.cpp:53:10: note: no known conversion for argument 1 from 'const int' to 'const dd&'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:71:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
from 1_858_4266_26385.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h: In instantiation of 'bool __gnu_cxx::__ops::_Iter_comp_val<_Compare>::operator()(_Iterator, _Value&) [with _Iterator = dd*; _Value = const int; _Compare = cmp3]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:965:30: required from '_ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = dd*; _Tp = int; _Compare = __gnu_cxx::__ops::_Iter_comp_val<cmp3>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2036:46: required from '_FIter std::lower_bound(_FIter, _FIter, const _Tp&, _Compare) [with _FIter = dd*; _Tp = int; _Compare = cmp3]'
1_858_4266_26385.cpp:63:51: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:141:37: error: no match for call to '(cmp3) (dd&, const int&)'
{ return bool(_M_comp(*__it, __val)); }
^
1_858_4266_26385.cpp:51:8: note: candidate is:
struct cmp3
^
1_858_4266_26385.cpp:53:10: note: bool cmp3::operator()(const dd&, const dd&) const
bool operator () (const dd &a,const dd &b) const {
^
1_858_4266_26385.cpp:53:10: note: no known conversion for argument 2 from 'const int' to 'const dd&'
|