[Bug c++/100396] [11 regression] The template function overload is not selected correctly
ppalka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 4 14:29:31 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100396
--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
(In reply to vopl from comment #4)
> Take attention at 'Args' - it was {double} initially, but becomes {double,
> double} for second ovr call.
That seems correct to me. The second ovr call has three function arguments,
and two explicit template arguments. The first double in Args={double,double}
comes from the second explicit template argument. The second double is deduced
from the third function argument.
More information about the Gcc-bugs
mailing list