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 C2872

'symbol' : ambiguous symbol

The compiler cannot determine which symbol you are referring to.

Example

namespace A {
   int i;
}

using namespace A;

int i;

void z() {
   ::i++;   // ok
   A::i++;   // ok
   i++;      // error C2872, ::i or A::i?
}