|Synopsis:||A public base class must have either a public virtual destructor or a protected destructor|
|Category:||Object Oriented Programming|
A class becomes a public base class when another class derives from it with a declaration such as "class Foo: public Bar". Informally this rule can be read as: only publicly derive from a class that has either a public virtual desctructor or a protected destructor.
|ISC++ Rule 10.4|