Compiler Error C2877

'class::symbol' : is not accessible

All members derived from a base class must be accessible in the derived class.

For example, in the following code, the variable a is not accessible in the derived class B.

class A {
private:
   int a;
};

class B : public A {
   using A::a; // error C2877
};