Base a=Derived(arg);
doesn't work (it tries to call a Base::Base() unless there's a dtor)
#88
Labels
Base a=Derived(arg);
doesn't work (it tries to call a Base::Base() unless there's a dtor)
#88
Now uncomment
A3(){ printf("A3::A3\n"); }
Now add virtual A3::~A3() {printf(...)} and virtual A3Derived::~A3Derived(){ printf(...) }
=> problem 2 disappears
=> problem 1 disappears (ie removing A3::A3() does not cause problem 1)
The text was updated successfully, but these errors were encountered: