Ubisoft Interview Question

Why would you put a virtual destructor?

Interview Answer

Anonymous

Feb 2, 2023

To allow for any derived class to have it's destructor called when deleting a base class pointer