65,207
社区成员
发帖
与我相关
我的任务
分享
template <class A>
class View
{
public:
View(){}
~View(){}
void Myfunc()
{
int m=0, n=2;
A*a = new A(m, n); //如果只向前声明了B,这里调用构造函数的时候就会有无法解析的符号?B@B@@...
}
}