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 C2385

ambiguous access of 'member' in 'class'

The member can derive from more than one object (it is inherited from more than one object).

Possible solutions

Warning C4385 provides additional information about the ambiguity.

Example

struct A { int x; };
struct B { int x; };
struct C : A, B {};
void func ()
{
   C aC;
   aC.x = 9;        // error
}