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 C2909

'identifier': explicit instantiation of template function requires return type

An explicit instantiation of a function template requires explicit specification of its return type. Implicit return type specification does not work.

Example

template<class T> int f(T);
template f<int>(int);   // error
template int f<int>(int);   // OK