0_0_14278061_19195.cpp: In function 'int main()':
0_0_14278061_19195.cpp:106:53: error: no match for 'operator-' (operand types are 'int' and 'Point')
if (((pp[i].x - pp[j].x) * (pp[i].y - pp[j]) > 0) && getother(pp[i], pp[j], t1, t2))
^
0_0_14278061_19195.cpp:106:53: 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++/vector:60,
from 0_0_14278061_19195.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:328:5: note: template<class _Iterator> typename std::reverse_iterator<_Iterator>::difference_type std::operator-(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator-(const reverse_iterator<_Iterator>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:328:5: note: template argument deduction/substitution failed:
0_0_14278061_19195.cpp:106:59: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'int'
if (((pp[i].x - pp[j].x) * (pp[i].y - pp[j]) > 0) && getother(pp[i], pp[j], t1, t2))
^
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++/vector:60,
from 0_0_14278061_19195.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:380:5: note: template<class _IteratorL, class _IteratorR> decltype ((__y.base() - __x.base())) std::operator-(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator-(const reverse_iterator<_IteratorL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:380:5: note: template argument deduction/substitution failed:
0_0_14278061_19195.cpp:106:59: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'int'
if (((pp[i].x - pp[j].x) * (pp[i].y - pp[j]) > 0) && getother(pp[i], pp[j], t1, t2))
^
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++/vector:60,
from 0_0_14278061_19195.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1121:5: note: template<class _IteratorL, class _IteratorR> decltype ((__x.base() - __y.base())) std::operator-(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
operator-(const move_iterator<_IteratorL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1121:5: note: template argument deduction/substitution failed:
0_0_14278061_19195.cpp:106:59: note: mismatched types 'const std::move_iterator<_Iterator>' and 'int'
if (((pp[i].x - pp[j].x) * (pp[i].y - pp[j]) > 0) && getother(pp[i], pp[j], t1, t2))
^
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++/vector:60,
from 0_0_14278061_19195.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1128:5: note: template<class _Iterator> decltype ((__x.base() - __y.base())) std::operator-(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
operator-(const move_iterator<_Iterator>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1128:5: note: template argument deduction/substitution failed:
0_0_14278061_19195.cpp:106:59: note: mismatched types 'const std::move_iterator<_Iterator>' and 'int'
if (((pp[i].x - pp[j].x) * (pp[i].y - pp[j]) > 0) && getother(pp[i], pp[j], t1, t2))
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65:0,
from 0_0_14278061_19195.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:208:3: note: std::ptrdiff_t std::operator-(const std::_Bit_iterator_base&, const std::_Bit_iterator_base&)
operator-(const _Bit_iterator_base& __x, const _Bit_iterator_base& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:208:3: note: no known conversion for argument 1 from 'int' to 'const std::_Bit_iterator_base&'
|