]> gcc.gnu.org Git - gcc.git/commit
Support partial specialization of member class templates.
authorJason Merrill <jason@yorick.cygnus.com>
Fri, 27 Feb 1998 12:15:17 +0000 (12:15 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 27 Feb 1998 12:15:17 +0000 (07:15 -0500)
commit8d019cef1a2ecde418d34b58aece9b5a0be0586f
tree132ee51a4a24b5c03f0fa420891027b9210b7b84
parent5987a4f34ae693fa52d4f0c4adf136f6becb8984
Support partial specialization of member class templates.

* pt.c (get_class_bindings): Add outer_args parm.
(most_specialized_class): Likewise.
(instantiate_class_template): Pass it.
(more_specialized_class): Likewise.
(lookup_template_class): Get context from template if none
was specified.
(finish_member_template_decl): Don't do anything with a
partial specialization.
* decl2.c (check_member_template): Use IS_AGGR_TYPE instead of
AGGREGATE_TYPE_P.
* class.c (finish_struct): Member class templates have already been
checked for name clashes.
* decl.c (pushdecl_with_scope): Handle pushing at class level.

From-SVN: r18285
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/pt.c
This page took 0.057726 seconds and 5 git commands to generate.