I have:
Code:
class A {
public:
~A ();
};
Code:
class B: public A {
public:
void SomeFunc ();
};
Is it true that upon B destruction it automatically calls ~A () destructor (or somehow inherits it), or should I do:
Code:
B::~B () {
A::~A ();
}
?
Thanks.