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 Warning (level 4) C4513

'class' : destructor could not be generated

The compiler cannot generate a default destructor for the given class; no destructor was created. The destructor is in a base class that is not accessible to the derived class. If the base class has a private destructor, make it public or protected.

The following sample generates C4513:

// compile with /W4
class Base 
{
   private:
      ~Base();
};
class Derived : public Base 
{
   public:
      Derived();
};
void main()
{
}