对于[练习6.50](https://github.com/applenob/Cpp_Primer_Practice/blob/master/excersize/ch06.md#%E7%BB%83%E4%B9%A0650)中,f(42) 的最佳匹配为 `f(int)`, 但可行函数应该包含两个吧,`f(int)` 和 `f(double, double=3.14)` 。 如下程序所示 ```cpp #include <iostream> using namespace std; void f(double x, double y=3.14) { cout << "double x, double y=3.14" << endl; } int main() { f(42); } ``` 运行结果如图所示: 