Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
'class::symbol' : not all overloads are accessible
Remarks
All overloaded forms of a function in a base class must be accessible to the derived class.
Example
The following example generates C2876:
// C2876.cpp
// compile with: /c
class A {
public:
double a(double);
private:
int a(int);
};
class B : public A {
using A::a; // C2876 one overload is private in base class
};