×

Loading...

The only error here is the destructor should be defined as: ~A(){} , ~B(){}. Don't just declare them as : ~A();~B();

Report