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 C2525

'identifier' : explicit destructor is named but not called

A member selection uses an explicit destructor without a function call operator (matched parentheses).

Example

struct C 
{ 
   ~C(); 
};

void func( CpC )
{
   pC->~C;       // error
   pC->~C();     // OK
}