This documentation is archived and is not being maintained.

Compiler Error C2667

Error Message

'function' : none of number overloads have a best conversion

An overloaded function call is ambiguous and cannot be resolved.

The conversion required to match the actual parameters in the function call to one of the overloaded functions must be strictly better than the conversions required by all the other overloaded functions.

See Knowledge Base article Q240869 for more information on partial ordering of function templates.

Show: