We now give each conversion a cost and then find the minimum sum of costs for all of the possible overloads. Fixes issue #194.
8 lines
115 B
Plaintext
8 lines
115 B
Plaintext
// Unable to find any matching overload for call to function
|
|
|
|
void foo(int x);
|
|
|
|
void bar(int x) {
|
|
foo(x, x);
|
|
}
|