The code like this,What's difference between FuncA and FuncB,what does template in FuncA mean? The code can successfully complied.When I run the code,the two function has the same result
class A
{
public:
typedef int C;
public:
A()
{
}
int x = 0;
};
void FuncA(A::template C a)
{
}
void FuncB(A::C a)
{
}
Aucun commentaire:
Enregistrer un commentaire