Does anyone know why the STL containers don\'t have virtual destructors?
As far as I can tell, the only benefits are:
A virtual destructor is only useful for inheritance scenarios. STL containers are not designed to be inherited from (nor is it a supported scenario). Hence they don't have virtual destructors.