#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.f();   //error - as the function is hidden
	return 0;
}