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 C2914

'identifier' : cannot deduce template argument as function argument is ambiguous

The compiler cannot determine which overloaded functions to use.

Example

void f(int);
void f(double);

template<class T> void g(void (*) (T));

void h() { g(f); } // error