0_0_13117955_7693.cpp:13:10: error: reference to 'rank' is ambiguous
bool cmp(rank x,rank y)
^
0_0_13117955_7693.cpp:6:8: note: candidates are: struct rank
struct rank
^
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 GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_13117955_7693.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_13117955_7693.cpp:13:17: error: reference to 'rank' is ambiguous
bool cmp(rank x,rank y)
^
0_0_13117955_7693.cpp:6:8: note: candidates are: struct rank
struct rank
^
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 GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_13117955_7693.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_13117955_7693.cpp:13:23: error: expression list treated as compound expression in initializer [-fpermissive]
bool cmp(rank x,rank y)
^
0_0_13117955_7693.cpp:14:1: error: expected ',' or ';' before '{' token
{
^
|