In file included from /in/driver/main.cpp:8:0:
/in/kdtree.hpp:365:30: error: 'InitVec' has not been declared
Node *buildTree(typename InitVec::iterator s, typename InitVec::iterator e, Node *parent) {
^~~~~~~
/in/kdtree.hpp:365:48: error: expected '(' before 's'
Node *buildTree(typename InitVec::iterator s, typename InitVec::iterator e, Node *parent) {
^
/in/kdtree.hpp:365:60: error: 'InitVec' has not been declared
Node *buildTree(typename InitVec::iterator s, typename InitVec::iterator e, Node *parent) {
^~~~~~~
/in/kdtree.hpp:365:78: error: expected '(' before 'e'
Node *buildTree(typename InitVec::iterator s, typename InitVec::iterator e, Node *parent) {
^
/in/kdtree.hpp:365:86: error: expected primary-expression before '*' token
Node *buildTree(typename InitVec::iterator s, typename InitVec::iterator e, Node *parent) {
^
/in/kdtree.hpp:365:87: error: 'parent' was not declared in this scope
Node *buildTree(typename InitVec::iterator s, typename InitVec::iterator e, Node *parent) {
^~~~~~
/in/kdtree.hpp:365:87: note: suggested alternative: 'popen'
Node *buildTree(typename InitVec::iterator s, typename InitVec::iterator e, Node *parent) {
^~~~~~
popen
/in/kdtree.hpp:365:95: error: expected ';' before '{' token
Node *buildTree(typename InitVec::iterator s, typename InitVec::iterator e, Node *parent) {
^
/in/kdtree.hpp:378:5: error: data member 'buildTree' cannot be a member template
}
^
/in/kdtree.hpp: In constructor 'KDTree<std::tuple<_Elements ...>, ValueType>::KDTree(std::vector<std::pair<std::tuple<_Elements ...>, ValueType> >)':
/in/kdtree.hpp:395:16: error: 'buildTree' was not declared in this scope
root = buildTree<0>(v.begin(), v.end(), nullptr);
^~~~~~~~~