pt.c (resolve_overloaded_unification): New fn.
authorJason Merrill <jason@yorick.cygnus.com>
Fri, 9 Oct 1998 00:10:57 +0000 (00:10 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 9 Oct 1998 00:10:57 +0000 (20:10 -0400)
commit34016c8137bcaf5188f15ce6e9d9951c13a69118
treef6d0957dbeb49e219b9dadd34047d2207d444193
parent85ee60379d3900cc3fe1a92f8c1b92b380ab8296
pt.c (resolve_overloaded_unification): New fn.

* pt.c (resolve_overloaded_unification): New fn.
(try_one_overload): Likewise.
(unify): Don't fail on unknown type.
(type_unification_real): Likewise.  Use resolve_overloaded_unification
to handle an overloaded argument.
(template_args_equal): Split out...
(comp_template_args): From here.
(determine_specialization): Also allow a template with more
parms than were explicitly specified.
* cp-tree.h: Add template_args_equal.
* call.c (resolve_args): Remove TEMPLATE_ID_EXPR code.

From-SVN: r22951
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/pt.c