Hello friends:
In the following setup,
class A {
...
};
class B {
...
};
class C : public A, public B {
...
}
void main()
{
A* x = new C;
delete (x);
}
Does the B part of x get deleted properly?
Thanks.
In the following setup,
class A {
...
};
class B {
...
};
class C : public A, public B {
...
}
void main()
{
A* x = new C;
delete (x);
}
Does the B part of x get deleted properly?
Thanks.
Comment