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>);
^
/in/kdtree.hpp: In constructor 'KDTree<std::tuple<_Elements ...>, ValueType>::KDTree(std::vector<std::pair<std::tuple<_Elements ...>, ValueType> >)':
/in/kdtree.hpp:495:22: error: 'copy_from_vector_helper' was not declared in this scope
this->root = copy_from_vector_helper<0>(v, nullptr);
^~~~~~~~~~~~~~~~~~~~~~~
/in/kdtree.hpp: In instantiation of 'KDTree<std::tuple<_Elements ...>, ValueType>::KDTree(std::vector<std::pair<std::tuple<_Elements ...>, ValueType> >) [with ValueType = std::__cxx11::basic_string<char>; KeyTypes = {int, int, int}]':
/in/driver/main.cpp:43:57: required from here
/in/kdtree.hpp:495:50: error: left operand of comma operator has no effect [-Werror=unused-value]
this->root = copy_from_vector_helper<0>(v, nullptr);
~~^~~~~~~~~~
cc1plus: all warnings being treated as errors