关于析构函数,请教一下
#include <iostream.h>
class MIPEnv
{
public:
MIPEnv(){};
void end();
~MIPEnv(){};
};
void MIPEnv::end()
{
~MIPEnv();
}
编译出错:error C2675: unary '~' : 'class MIPEnv' does not define this operator or a conversion to a type acceptable to the predefined operator
请问,这是怎么回事啊?