This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Compiler Error C2588
'::~identifier' : illegal global destructor
The destructor is defined for something other than a class, structure, or union. This is not allowed.
Possible causes
- Missing class, structure, or union name on the left side of the scope resolution (::) operator.
Example
~F(); // error