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++/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_37825859_30169.cpp:2:
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 = KD_Tree<int, 2>::Node*; _Iterator2 = KD_Tree<int, 2>::Node*; _Compare = KD_Tree<T, D>::Build(int&, int, int, int) [with T = int; int D = 2]::<lambda(auto:2, auto:3)>]':
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 = KD_Tree<int, 2>::Node*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<KD_Tree<T, D>::Build(int&, int, int, int) [with T = int; int D = 2]::<lambda(auto:2, auto:3)> >]'
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 = KD_Tree<int, 2>::Node*; _Size = long long int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<KD_Tree<T, D>::Build(int&, int, int, int) [with T = int; int D = 2]::<lambda(auto:2, auto:3)> >]'
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 = KD_Tree<int, 2>::Node*; _Compare = KD_Tree<T, D>::Build(int&, int, int, int) [with T = int; int D = 2]::<lambda(auto:2, auto:3)>]'
0_0_37825859_30169.cpp:44:6: required from 'void KD_Tree<T, D>::Build(int&, int, int, int) [with T = int; int D = 2]'
0_0_37825859_30169.cpp:56:24: required from 'void KD_Tree<T, D>::Build(int, int) [with T = int; int D = 2]'
0_0_37825859_30169.cpp:169:15: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:121:46: error: invalid use of 'auto'
{ return bool(_M_comp(*__it1, *__it2)); }
^
|