Tuesday, May 8, 2012

C++: Inheriting from std::map

I want to inherit from std::map, but as far as I know std::map hasn't any virtual destructor.



Is it therefore possible to call std::map's destructor explicitly in my destructor to ensure proper object destruction?





No comments:

Post a Comment