หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
'symbol' is not accessible from 'class'
Remarks
All members derived from a base class must be accessible in the derived class.
Example
The following example generates C2877:
// C2877.cpp
// compile with: /c
class A {
private:
int a;
};
class B : public A {
using A::a; // C2877
};