virtual ~CException() = 0;
BOOL m_bAutoDelete;
#ifdef _DEBUG
void PASCAL operator delete(void* pbData);
#if _MSC_VER >= 1200
void PASCAL operator delete(void* pbData, LPCSTR lpszFileName, int nLine);
#endif
protected:
BOOL m_bReadyForDelete;
#endif
};
1 个解决方案
#1
virtual ~CException() = 0;为纯虚函数,所以类就是抽象类,而抽象类是不能实例化的
#1
virtual ~CException() = 0;为纯虚函数,所以类就是抽象类,而抽象类是不能实例化的