新加坡米其林一星 油鸡:一个关于析构函数的错误
来源:百度文库 编辑:神马品牌网 时间:2024/07/03 08:21:14
//List.h
……
class List
{
private:
……
pubilc:
……
~List();
}
错误:error C2523: 'List::~list' : destructor tag mismatch
哪位高人给解释下?谢谢!
……
class List
{
private:
……
pubilc:
……
~List();
}
错误:error C2523: 'List::~list' : destructor tag mismatch
哪位高人给解释下?谢谢!