0_0_8531852_20690.cpp:19: error: `bool node::operator<(const node&, const node&)' must take exactly one argument
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_function.h: In member function `bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = point]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:279: instantiated from `void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<point*, std::vector<point, std::allocator<point> > >, _Distance = int, _Tp = node, _Compare = std::less<point>]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:302: instantiated from `void std::__pop_heap(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<point*, std::vector<point, std::allocator<point> > >, _Tp = node, _Compare = std::less<point>]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:330: instantiated from `void std::pop_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<point*, std::vector<point, std::allocator<point> > >, _Compare = std::less<point>]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_queue.h:458: instantiated from `void std::priority_queue<_Tp, _Sequence, _Compare>::pop() [with _Tp = point, _Sequence = std::vector<point, std::allocator<point> >, _Compare = std::less<point>]'
0_0_8531852_20690.cpp:34: instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_function.h:227: error: no match for 'operator<' in '__x < __y'
0_0_8531852_20690.cpp:19: note: candidates are: bool node::operator<(const node&, const node&)
|