0_0_22343402_9707.cpp:30:1: error: reference to 'vector' is ambiguous
vector operator + (vector A,vector B){
^
0_0_22343402_9707.cpp:29:15: note: candidates are: typedef struct point vector
typedef point vector;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_22343402_9707.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_22343402_9707.cpp:30:1: error: 'vector' does not name a type
vector operator + (vector A,vector B){
^
0_0_22343402_9707.cpp:33:1: error: reference to 'vector' is ambiguous
vector operator - (point A,point B){
^
0_0_22343402_9707.cpp:29:15: note: candidates are: typedef struct point vector
typedef point vector;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_22343402_9707.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_22343402_9707.cpp:33:1: error: 'vector' does not name a type
vector operator - (point A,point B){
^
0_0_22343402_9707.cpp:36:17: error: declaration of 'operator^' as non-function
int operator ^ (vector A,vector B){
^
0_0_22343402_9707.cpp:36:17: error: reference to 'vector' is ambiguous
0_0_22343402_9707.cpp:29:15: note: candidates are: typedef struct point vector
typedef point vector;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_22343402_9707.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_22343402_9707.cpp:36:26: error: reference to 'vector' is ambiguous
int operator ^ (vector A,vector B){
^
0_0_22343402_9707.cpp:29:15: note: candidates are: typedef struct point vector
typedef point vector;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_22343402_9707.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_22343402_9707.cpp:39:17: error: declaration of 'operator*' as non-function
int operator * (vector A,vector B){
^
0_0_22343402_9707.cpp:39:17: error: reference to 'vector' is ambiguous
0_0_22343402_9707.cpp:29:15: note: candidates are: typedef struct point vector
typedef point vector;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_22343402_9707.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_22343402_9707.cpp:39:26: error: reference to 'vector' is ambiguous
int operator * (vector A,vector B){
^
0_0_22343402_9707.cpp:29:15: note: candidates are: typedef struct point vector
typedef point vector;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_22343402_9707.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: template<class _Tp, class _Alloc> class std::vector
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_22343402_9707.cpp: In function 'bool cmp(point, point)':
0_0_22343402_9707.cpp:51:17: error: no match for 'operator-' (operand types are 'point' and 'point')
int d=(a-p[pos])^(b-p[pos]);
^
0_0_22343402_9707.cpp:51:17: 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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_22343402_9707.cpp:3:
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_22343402_9707.cpp:51:23: note: 'point' is not derived from 'const std::reverse_iterator<_Iterator>'
int d=(a-p[pos])^(b-p[pos]);
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_22343402_9707.cpp:3:
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_22343402_9707.cpp:51:23: note: 'point' is not derived from 'const std::reverse_iterator<_Iterator>'
int d=(a-p[pos])^(b-p[pos]);
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_22343402_9707.cpp:3:
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_iterat
|