Hi,
I was trying to write two classes A and C derived from a base class B. There is a virtual member function f in base class B. The derived class A does not override and therefore uses the virtual member function f of the base class. For the other derived class C, it defined its own function f overriding the virtual member function in the base class B.

My question is: can I call B::f inside C::f? How can I do that? In C::f(), (B*)this->f() calls C::f() causing infinite times of invoking.

Or other than that, is there any other mechanism that implements what I need?

Thanks!