All base classes should have a virtual destructor . If the class should be abstract (you want to prevent instantiating it) but it doesn’t happen to have any other pure virtual functions, a common technique to make the destructor pure virtual:
Read the rest of this entry »
No Comments
Filed under:
Cplusplus