NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2292

'identifier': best case inheritance representation: 'representation1' declared but 'representation2' required

Example

Compiling the following code with /vmb ("Best-case always" representation) causes C2292.

class __single_inheritance X;

struct A { };
struct B { };
struct X : A, B { };  // error, X uses multiple inheritance