The destructors for nonvirtual base classes are called in the reverse order in which the base class names are declared. Consider the following class declaration:
class MultInherit : public Base1, public Base2
...
In the preceding example, the destructor for Base2
is called before the destructor for Base1
.