Query module AV Rule 78

name
No virtual destructor
description
All base classes with a virtual function should define a virtual destructor. If an application attempts to delete a derived class object through a base class pointer, the result is undefined if the base class destructor is non-virtual.
kind
problem
problem.severity
warning
id
cpp/jsf/av-rule-78
tags
reliability readability language-features external/jsf

Imports

cpp

Provides classes and predicates for working with C/C++/ObjC/ObjC++ code.