หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
pointers to members of 'identifier' representation is already set to 'inheritance' - declaration ignored
Remarks
Two different pointer-to-members representations exist for class.
For more information, see Inheritance Keywords.
Example
The following example generates C2286:
// C2286.cpp
// compile with: /c
class __single_inheritance X;
class __multiple_inheritance X; // C2286
class __multiple_inheritance Y; // OK