News for hackers. Stuff that matters.
Re:Pure virtual destructors in C++ by tomjen3 on Sunday November 14, 2010 @02:16PM (#1903890)
Why? If they don't it is going to mess up the destruction sequence if they are ever stored and then released polymorphically, such as from a collection of pointers to classes.

What he is saying is standard C++ knowledge.

Re:Pure virtual destructors in C++ by Rexxar on Sunday November 14, 2010 @03:00PM (#1903993)
You can also use a protected non-virtual destructor in the base class to avoid to mess up the destruction sequence. But what he says is indeed the most common case.
Re:Pure virtual destructors in C++ by _stephan on Sunday November 14, 2010 @02:57PM (#1903984)
Sometimes an alternative is to make the destructor in the base class protected.