Pull to refresh
0
0
Send message
Другой вариант с наследованием:

class A
{
protected:
    void f() {}
};

class B: public A
{
public:
    A::f;
};

int main()
{
    B b;
    b.f();
    return 0; 
}

Information

Rating
Does not participate
Registered
Activity