In file included from /in/driver/main.cpp:8:0:
/in/kdtree.hpp:366:30: error: 'Initvec' has not been declared
Node* buildTree(typename Initvec::iterator begin, typename Initvec::iterator end, Node* parent) {
^~~~~~~
/in/kdtree.hpp:366:48: error: expected '(' before 'begin'
Node* buildTree(typename Initvec::iterator begin, typename Initvec::iterator end, Node* parent) {
^~~~~
/in/kdtree.hpp:366:64: error: 'Initvec' has not been declared
Node* buildTree(typename Initvec::iterator begin, typename Initvec::iterator end, Node* parent) {
^~~~~~~
/in/kdtree.hpp:366:82: error: expected '(' before 'end'
Node* buildTree(typename Initvec::iterator begin, typename Initvec::iterator end, Node* parent) {
^~~
/in/kdtree.hpp:366:91: error: expected primary-expression before '*' token
Node* buildTree(typename Initvec::iterator begin, typename Initvec::iterator end, Node* parent) {
^
/in/kdtree.hpp:366:93: error: 'parent' was not declared in this scope
Node* buildTree(typename Initvec::iterator begin, typename Initvec::iterator end, Node* parent) {
^~~~~~
/in/kdtree.hpp:366:93: note: suggested alternative: 'popen'
Node* buildTree(typename Initvec::iterator begin, typename Initvec::iterator end, Node* parent) {
^~~~~~
popen
/in/kdtree.hpp:366:101: error: expected ';' before '{' token
Node* buildTree(typename Initvec::iterator begin, typename Initvec::iterator end, Node* parent) {
^
/in/kdtree.hpp:379: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:396:16: error: 'buildTree' was not declared in this scope
root = buildTree<0>(v.begin(), v.end(), nullptr);
^~~~~~~~~