หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
'type' : access declaration can only be applied to a base class member
Remarks
A using declaration was specified incorrectly.
Example
The following example generates C3210.
// C3210.cpp
// compile with: /c
struct A {
protected:
int i;
};
struct B {
using A::i; // C3210
};
struct C : public A {
using A::i; // OK
};