This documentation is archived and is not being maintained.
Compiler Error C2286
Visual Studio 2005
Error Messagepointers to members of 'identifier' representation is already set to 'inheritance' – declaration ignored
Two different pointer-to-members representations exist for class.
For more information, see.
The following sample generates C2286:
// C2286.cpp // compile with: /c class __single_inheritance X; class __multiple_inheritance X; // C2286 class __multiple_inheritance Y; // OK