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>::buildTreeFromVector(std::vector<std::pair<std::tuple<_Elements ...>, ValueType> >&, KDTree<std::tuple<_Elements ...>, ValueType>::Node*)':
/in/kdtree.hpp:457:57: error: 'funcComp' was not declared in this scope
std::nth_element(v.begin(), median_it, v.end(), funcComp<DIM>);
^~~~~~~~
/in/kdtree.hpp:457:57: note: suggested alternative: 'myComp'
std::nth_element(v.begin(), median_it, v.end(), funcComp<DIM>);
^~~~~~~~
myComp
/in/kdtree.hpp:457:70: error: expected primary-expression before ')' token
std::nth_element(v.begin(), median_it, v.end(), funcComp<DIM>);
^