//assume there is no Print(double dValue)
void Print(unsigned int nValue);
void Print(float fValue);
Print(3.14159);
Shouldn't the Print(3.14159) match with Print(float) ?
Instead of it, this code lead to an ambiguous match
- Is
3.14159adouble? - How to differentiate between
floatanddouble?