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 C2782

'declaration' : template parameter 'identifier' is ambiguous

The compiler cannot determine the type of a template argument.

Example

template<class T> void f(T,T){ }
f(1, 'c');

In this example, the compiler cannot determine where type T is int or char.