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 C2252

'Identifier' : pure specifier can only be specified for functions

Identifier is a nonfunction specified as pure virtual. Only virtual member functions can be declared with a pure specifier.

Example

class A
{
   virtual int i = 0;          // error, i is an int
   virtual void func() = 0;    // OK, func is a function
};