Skip to content

Latest commit

 

History

History
1 lines (1 loc) · 258 Bytes

15.24.md

File metadata and controls

1 lines (1 loc) · 258 Bytes

A base class usually needs a virtual destructor to allow objects in the inheritance hierarchy to be dynamically allocated. The virtual destructor must free dynamically alloacted resources in its class if so, otherwise, an empty virtual destructor is enough.