August 2012
Intermediate to advanced
976 pages
30h 17m
English
In many (if not most) cases, it is easy to figure out which overloaded function matches a given call. However, it is not so simple when the overloaded functions have the same number of parameters and when one or more of the parameters have types that are related by conversions. As an example, consider the following set of functions and function call:
void f();void f(int);void f(int, int);void f(double, double = 3.14);f(5.6); // calls void f(double, double)
Read now
Unlock full access