It will issue compile time error.
Like, super_A not found in “bh”. As super_A not part of base class.
What is your query on this. I mean what is your expectations ?
Using parent class handle we can access only the overridden virtual methods of child class. As the method super_A is not the overridden virtual method in child class we can not access it using parent handle.
In reply to MarshallX:
Using parent class handle we can access only the overridden virtual methods of child class. As the method super_A is not the overridden virtual method in child class we can not access it using parent handle.
Thanks much for the information. It’s true with overridden virtual functions.