title: What if the virtual destructor defined in derived class, but not the top of hierarchy? C++
body: <p>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?</p>