0_0_16740943_8790.cpp: In function 'int rank(Node*, int)':
0_0_16740943_8790.cpp:265:12: error: reference to 'rank' is ambiguous
return rank(o->ch[1], x);
^
0_0_16740943_8790.cpp:259:5: note: candidates are: int rank(Node*, int)
int rank(Node* o, int x) {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
from 0_0_16740943_8790.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_16740943_8790.cpp:267:15: error: reference to 'rank' is ambiguous
int sub = rank(o->ch[0], x);
^
0_0_16740943_8790.cpp:259:5: note: candidates are: int rank(Node*, int)
int rank(Node* o, int x) {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
from 0_0_16740943_8790.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|