Compiler Error C2665

'function' : none of the number1 overloads can convert parameter number2 from type 'type'

The specified parameter of the overloaded function could not be converted to the required type. If you’ve encountered this error on code which compiled with an earlier version of Visual C++, please read Technote: Improved Conformance to ANSI C++ for more information.

You may need to supply a conversion operator or explicit conversion.