#include <iostream>

struct A
{
    void f() { std::cout << "A::f()" << std::endl; }
};

struct B : A
{
    void f(int) { std::cout << "B::f(int)" << std::endl; }
};

int main() {
	B b;
        b.f(10);  //ok
        b.A::f(); //ok - explicitly selecting the hidden function using scope resolution
	return 0;
}