नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'class': inheritance representation: 'representation1' is less general than the required 'representation2'
Remarks
A class is declared with a simpler representation than required.
Example
The following example generates C2287:
// C2287.cpp
// compile with: /vmg /c
class __single_inheritance X;
class __single_inheritance Y;
struct A { };
struct B { };
struct X : A, B { }; // C2287 X uses multiple inheritance
struct Y : A { }; // OK