0_0_37041265_29735.cpp: In function 'int main()':
0_0_37041265_29735.cpp:32:47: error: no matching function for call to 'upper_bound(int&)'
multiset<int>::iterator it = upper_bound(x);
^
0_0_37041265_29735.cpp:32:47: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_37041265_29735.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2079:5: note: template<class _FIter, class _Tp> _FIter std::upper_bound(_FIter, _FIter, const _Tp&)
upper_bound(_ForwardIterator __first, _ForwardIterator __last,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2079:5: note: template argument deduction/substitution failed:
0_0_37041265_29735.cpp:32:47: note: candidate expects 3 arguments, 1 provided
multiset<int>::iterator it = upper_bound(x);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_37041265_29735.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2111:5: note: template<class _FIter, class _Tp, class _Compare> _FIter std::upper_bound(_FIter, _FIter, const _Tp&, _Compare)
upper_bound(_ForwardIterator __first, _ForwardIterator __last,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2111:5: note: template argument deduction/substitution failed:
0_0_37041265_29735.cpp:32:47: note: candidate expects 4 arguments, 1 provided
multiset<int>::iterator it = upper_bound(x);
^
|