Compiler Error C2665
Visual Studio 2012
'function' : none of the number1 overloads can convert parameter number2 from type 'type'
A parameter of the overloaded function cannot be converted to the required type. Possible resolutions:
-
Supply a conversion operator.
-
Use explicit conversion.