阅读背景:

为什么在c++中我们需要一个纯粹的虚拟析构函数?

来源:互联网 

I understand the need for a virtual destructor. But why do we need a pure virtual destructor? In one of the C++ articles, the author has mentioned that we use pure virtual destructor when we want to make a class abstract. I understand the need for a virtual destructor.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: