Handle specifying template args to member function templates.
authorJason Merrill <jason@yorick.cygnus.com>
Sat, 21 Nov 1998 05:42:20 +0000 (05:42 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 21 Nov 1998 05:42:20 +0000 (00:42 -0500)
commit161c12b0bf44568bd062d6b9309973bd3901065f
tree18dd11cb735a685056e90a54e5a93e5ccd074973
parente42e5028955eb799abbbaa7cdcf813d936782226
Handle specifying template args to member function templates.

* tree.c (build_overload): Always create an OVERLOAD for a template.
* search.c (add_conversions): Handle finding an OVERLOAD.
* decl2.c (check_classfn): Likewise.
* lex.c (identifier_type): See through a baselink.
* parse.y (do_id): Don't call do_identifier if we got a baselink.
* class.c (instantiate_type, case TREE_LIST): Recurse.
* decl.c (grokdeclarator): Allow a boolean constant for array
bounds, odd as that sounds.
* pt.c (unify): Be more strict about non-type parms, except for
array bounds.
(UNIFY_ALLOW_INTEGER): New macro.

From-SVN: r23740
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/lex.c
gcc/cp/parse.c
gcc/cp/parse.y
gcc/cp/pt.c
gcc/cp/search.c
gcc/cp/tree.c