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 0_0_23478890_32154.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h: In instantiation of 'bool __gnu_cxx::__ops::_Iter_less_val::operator()(_Iterator, _Value&) const [with _Iterator = point*; _Value = const long long int]':
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 = point*; _Tp = long long int; _Compare = __gnu_cxx::__ops::_Iter_less_val]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1000:40: required from '_ForwardIterator std::lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = point*; _Tp = long long int]'
0_0_23478890_32154.cpp:65:35: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:54:22: error: no match for 'operator<' (operand types are 'point' and 'const long long int')
{ return *__it < __val; }
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:54:22: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
from 0_0_23478890_32154.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:837:5: note: template<class _IteratorL, class _IteratorR, class _Container> bool __gnu_cxx::operator<(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&)
operator<(const __normal_iterator<_IteratorL, _Container>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:837:5: note: template argument deduction/substitution failed:
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 0_0_23478890_32154.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:54:22: note: 'point' is not derived from 'const __gnu_cxx::__normal_iterator<_IteratorL, _Container>'
{ return *__it < __val; }
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
from 0_0_23478890_32154.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:844:5: note: template<class _Iterator, class _Container> bool __gnu_cxx::operator<(const __gnu_cxx::__normal_iterator<_Iterator, _Container>&, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&)
operator<(const __normal_iterator<_Iterator, _Container>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:844:5: note: template argument deduction/substitution failed:
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 0_0_23478890_32154.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:54:22: note: 'point' is not derived from 'const __gnu_cxx::__normal_iterator<_Iterator, _Container>'
{ return *__it < __val; }
^
0_0_23478890_32154.cpp:8:14: note: bool operator<(const point&, const point&)
friend bool operator < (const point &a,const point &b){
^
0_0_23478890_32154.cpp:8:14: note: no known conversion for argument 2 from 'const long long int' to 'const point&'
|