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 C2523

'class::~identifier' : destructor tag mismatch

The name of the destructor must be the class name preceded by a tilde (~). The constructor and destructor are the only members that have the same name as the class. The following sample generates C2523:

class A {
   ~B();   // C2523
   // the line below resolves the error
   // ~A();
};

void main() {
}