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 C2326

'declarator' : function cannot access 'name'

The code tries to modify a member variable, which is probably from a friend function, without specifying an object.

Example

class X
{
    int a;
    friend void f(X *p) { a = 10; } // error
};