#include <Destroy.h>
Inheritance diagram for Destroy:
Public Methods | |
virtual | ~Destroy () |
a virtual destructor. | |
Protected Methods | |
virtual void | Clear () |
the function called by the destructor. More... |
When implementing this interface, a class needs only to define the Clear() function. You get the virtual Destructor for free.
|
the function called by the destructor. when defining this, you want to delete your pointers and anything else you would do in your destructor |