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 C2262

'identifier' : cannot be destroyed

The object cannot be instantiated because the appropriate destructor, though defined, is not accessible.

Example

class B
{
   ~B();
};
class D : public B {};
D d;         // error, B's destructor is private