View Single Post
Light Poster
20Jun2009,05:25  
Aesop's Avatar
If you are inheriting from a class, it should (usually) have a virtual destructor. But for efficiency reasons STL containers don't define virtual destructors.

So that's one reason. There may be others.