I
Ian
Given
struct A{...};
struct B{...};
struct C : public A, public B {...}
int main()
{
A* a = new C;
delete a;
return 0;
}
Will the B part of a be correctly deleted?
Ian
struct A{...};
struct B{...};
struct C : public A, public B {...}
int main()
{
A* a = new C;
delete a;
return 0;
}
Will the B part of a be correctly deleted?
Ian