阅读背景:

What if the virtual destructor defined in derived class, but not the top of hierarchy? C++

来源:互联网 

I wonder is it correct to define a base class with no virtual destructor, and define inherited classes with the virtual one? What would actually happen if I do that?I wonder is it correct to define a base class w




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

分享到: