What does a virtual destructor do?
It is a signal to the compiler that using delete (which always destroys the object) should go through the virtual call mechanism
It has no effect otherwise
Previous slide
Next slide
Back to first slide
View graphic version