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 C2272

'function' : modifiers not allowed on static member functions

A static member function is declared with a memory-model specifier, such as const or volatile, and such modifiers are not allowed on static member functions.

Example

class CMyClass {
   public:
      static void func1() const volatile;  // error, func1 is static
      void func2() const volatile;         // OK
   };

void main() {
}