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.
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.
What he is saying is standard C++ knowledge.