หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
'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
};