Template partial ordering – why does partial deduction succeed here
As discussed in the comments, I believe there are several aspects of the function template partial ordering algorithm that are unclear or not specified at all in the standard, and this shows in your example. To make things even more interesting, MSVC (I tested 12 and 14) rejects the call as ambiguous. I don’t think … Read more