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 C2655

'identifier' : definition or redeclaration illegal in current scope

An identifier can be redeclared only at global scope.

Example

class A {};
class B
{
public:
   static int i;
};
void main()
{
   A B::i;  // error
}