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 C2897

'declaration' : destructors cannot be templates

Destructors cannot be overloaded, so declaring a destructor as a template (which would define a set of destructors) is not allowed.

Example

class X {
public:
   template<typename T> ~X() {...} //Error
};