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 C3408

'attribute': attribute is not allowed on template definitions

Attributes cannot be applied to template definitions.

The following sample generates C3408:

[coclass]
template <class T>   // templated class definition
class a {
   public:
      a<T>();
};

void main() {
}