Why is a call to a shadowing non-virtual member function in the derived class not calling the base class member function?
Yep, you are misunderstanding a little. The method of the same name on the derived class will hide the parent method in this case. You would imagine that if this weren’t the case, trying to create a method with the same name as a base class non-virtual method should throw an error. It is allowed … Read more