[Delete objects of a derived class] by adding a virtual destructor to the … Even an empty destructor will do: [e.g.,] 'employee::~employee(){}' This will cause the deallocation to be done from … [of the derived class]) … In general, it is wise to supply a … [with virtual functions].
Google-1
Google-2
Copyright clearance needed for quotation.