The function expects two parameters of the same type. In the case when parameters of different types are passed and the template parameter is not specified explicitly, there is an ambiguity which of the two parameters should be casted to the type of the other parameter.
Login in to like
Login in to comment