Posts Tagged ‘private’

Virtual Destructors

Saturday, November 18th, 2006

When do you need to declare a destructor virtual?

Recently I’ve been involved in a thread on qt-interest mailing list about virtual destructors. A few people there suggested that you should always make the destructor of your class virtual. I strongly disagree.

(more…)