In file included from /in/driver/main.cpp:8:0:
/in/kdtree.hpp: In member function 'KDTree<std::tuple<_Elements ...>, ValueType>::Node* KDTree<std::tuple<_Elements ...>, ValueType>::constructor_helper(std::vector<std::pair<std::tuple<_Elements ...>, ValueType> >, int, int, KDTree<std::tuple<_Elements ...>, ValueType>::Node*)':
/in/kdtree.hpp:362:117: error: 'lhs' was not declared in this scope
std::nth_element(v.begin() + left, v.begin() + mid, v.begin() + right + 1, compareKey<DIM, std::less<>>(lhs.first, rhs.first));//get the midian according to DIM
^~~
/in/kdtree.hpp:362:117: note: suggested alternative: 'labs'
std::nth_element(v.begin() + left, v.begin() + mid, v.begin() + right + 1, compareKey<DIM, std::less<>>(lhs.first, rhs.first));//get the midian according to DIM
^~~
labs
In file included from /in/driver/main.cpp:8:0:
/in/kdtree.hpp:362:128: error: 'rhs' was not declared in this scope
std::nth_element(v.begin() + left, v.begin() + mid, v.begin() + right + 1, compareKey<DIM, std::less<>>(lhs.first, rhs.first));//get the midian according to DIM
^~~