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++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_20777169_9510.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h: In instantiation of 'bool __gnu_cxx::__ops::_Iter_comp_iter<_Compare>::operator()(_Iterator1, _Iterator2) [with _Iterator1 = kdpoint*; _Iterator2 = kdpoint*; _Compare = bool (kdTree::*)(const kdpoint&, const kdpoint&)]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1675:25: required from 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = kdpoint*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (kdTree::*)(const kdpoint&, const kdpoint&)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1984:61: required from 'void std::__introselect(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = kdpoint*; _Size = long long int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (kdTree::*)(const kdpoint&, const kdpoint&)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4657:47: required from 'void std::nth_element(_RAIter, _RAIter, _RAIter, _Compare) [with _RAIter = kdpoint*; _Compare = bool (kdTree::*)(const kdpoint&, const kdpoint&)]'
0_0_20777169_9510.cpp:36:47: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:121:46: error: must use '.*' or '->*' to call pointer-to-member function in '((__gnu_cxx::__ops::_Iter_comp_iter<bool (kdTree::*)(const kdpoint&, const kdpoint&)>*)this)->__gnu_cxx::__ops::_Iter_comp_iter<bool (kdTree::*)(const kdpoint&, const kdpoint&)>::_M_comp (...)', e.g. '(... ->* ((__gnu_cxx::__ops::_Iter_comp_iter<bool (kdTree::*)(const kdpoint&, const kdpoint&)>*)this)->__gnu_cxx::__ops::_Iter_comp_iter<bool (kdTree::*)(const kdpoint&, const kdpoint&)>::_M_comp) (...)'
{ return bool(_M_comp(*__it1, *__it2)); }
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h: In instantiation of 'bool __gnu_cxx::__ops::_Val_comp_iter<_Compare>::operator()(_Value&, _Iterator) [with _Value = kdpoint; _Iterator = kdpoint*; _Compare = bool (kdTree::*)(const kdpoint&, const kdpoint&)]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1827:34: required from 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = kdpoint*; _Compare = __gnu_cxx::__ops::_Val_comp_iter<bool (kdTree::*)(const kdpoint&, const kdpoint&)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1855:46: required from 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = kdpoint*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (kdTree::*)(const kdpoint&, const kdpoint&)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1997:52: required from 'void std::__introselect(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = kdpoint*; _Size = long long int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (kdTree::*)(const kdpoint&, const kdpoint&)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4657:47: required from 'void std::nth_element(_RAIter, _RAIter, _RAIter, _Compare) [with _RAIter = kdpoint*; _Compare = bool (kdTree::*)(const kdpoint&, const kdpoint&)]'
0_0_20777169_9510.cpp:36:47: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:166:37: error: must use '.*' or '->*' to call pointer-to-member function in '((__gnu_cxx::__ops::_Val_comp_iter<bool (kdTree::*)(const kdpoint&, const kdpoint&)>*)this)->__gnu_cxx::__ops::_Val_comp_iter<bool (kdTree::*)(const kdpoint&, const kdpoint&)>::_M_comp (...)', e.g. '(... ->* ((__gnu_cxx::__ops::_Val_comp_iter<bool (kdTree::*)(const kdpoint&, const kdpoint&)>*)this)->__gnu_cxx::__ops::_Val_comp_iter<bool (kdTree::*)(const kdpoint&, const kdpoint&)>::_M_comp) (...)'
{ return bool(_M_comp(__val, *__it)); }
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_20777169_9510.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h: In instantiation of 'constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&) [with _T1 = double; _T2 = kdpoint]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:371:20: required from 'bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = std::pair<double, kdpoint>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:141:37: required from 'bool __gnu_cxx::__ops::_Iter_comp_val<_Compare>::operator()(_Iterator, _Value&) [with _Iterator = __gnu_cxx::__normal_iterator<std::pair<double, kdpoint>*, std::vector<std::pair<double, kdpoint>, std::allocator<std::pair<double, kdpoint> > > >; _Value = std::pair<double, kdpoint>; _Compare = std::less<std::pair<double, kdpoint> >]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:129:76: required from 'void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<double, kdpoint>*, std::vector<std::pair<double, kdpoint>, std::allocator<std::pair<double, kdpoint> > > >; _Distance = long long int; _Tp = std::pair<double, kdpoint>; _Compare = __gnu_cxx::__ops::_Iter_comp_val<std::less<std::pair<double, kdpoint> > >]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:201:51: required from 'void std::push_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<double, kdpoint>*, std::vector<std::pair<double, kdpoint>, std::allocator<std::pair<double, kdpoint> > > >; _Compare = std::less<std::pair<double, kdpoint> >]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:502:41: required from 'void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = std::pair<double, kdpoint>; _Sequence = std::vector<std::pair<double, kdpoint>, std::allocator<std::pair<double, kdpoint> > >; _Compare = std::less<std::pair<double, kdpoint> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::pair<double, kdpoint>]'
0_0_20777169_9510.cpp:49:30: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:222:50: error: no match for 'operator<' (operand types are 'const kdpoint' and 'const kdpoint')
|| (!(__y.first < __x.first) && __x.second < __y.second); }
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:222:50: note: candidates are:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:220:5: note: template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:220:5: note: template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:222:50: note: 'const kdpoint' is not derived from 'const std::pair<_T1, _T2>'
|| (!(__y.first < __x.first) && __x.second < __y.second); }
^
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++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_20777169_9510.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:298:5: note: template<class _Iterator> bool 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:298:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_20777169_9510.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:222:50: note: 'const kdpoint' is not derived from 'const std::reverse_iterator<_Iterator>'
|| (!(__y.first < __x.first) && __x.second < __y.second); }
^
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++/deque:60,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_20777169_9510.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:348:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_
|