This topic has not yet been rated - Rate this topic

Destructors for Nonvirtual Base Classes

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.