In partial ordering for a call, ignore parms for which we don't have a real argument.
In partial ordering for a call, ignore parms for which we don't have a real argument. * call.c (joust): Pass len to more_specialized. (add_template_candidate_real): Strip 'this', pass len. * pt.c (more_specialized): Pass len down. Lose explicit_args parm. (get_bindings_order): New fn. Pass len down. (get_bindings_real): Strip 'this', pass len. (fn_type_unification): Likewise. (type_unification_real): Succeed after checking 'len' args. (most_specialized_instantiation): Lose explicit_args parm. * class.c (resolve_address_of_overloaded_function): Strip 'this', pass len. From-SVN: r38460
Showing
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.pt/partial5.C
0 → 100644
Please
register
or
sign in
to comment