This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Compiler Error C2256
illegal use of friend specifier on 'destructor'
The destructor is specified as a friend.
Example
class C
{
public:
friend ~C(); // error
~C(); // OK
};