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>::KDTreeConstructorHelper(std::vector<std::pair<std::tuple<_Elements ...>, ValueType> >, int, int, KDTree<std::tuple<_Elements ...>, ValueType>::Node*)':
/in/kdtree.hpp:438:44: error: 'left' was not declared in this scope
std::nth_element(v.begin()+begin + left, v.begin() + median, v.begin() + end, compareData<DIM, std::less<>>);
^~~~
/in/kdtree.hpp:442:9: error: 'node' was not declared in this scope
node->left = KDTreeConstructorHelper<DIM_NEXT>(v, begin, median, newNode);
^~~~
/in/kdtree.hpp:442:9: note: suggested alternative: 'Node'
node->left = KDTreeConstructorHelper<DIM_NEXT>(v, begin, median, newNode);
^~~~
Node