OSDN Git Service

Mon Sep 8 01:21:43 1997 Mark Mitchell <mmitchell@usa.net>
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Sep 1997 09:28:51 +0000 (09:28 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Sep 1997 09:28:51 +0000 (09:28 +0000)
commitf530831587a5bd98f14c96209d97d9eea2089cc7
tree947c04ec83511b3bab40eb322bd28e8bcd75c265
parent87860d74fc4d0199c75bbb1110ff316ba420b6eb
Mon Sep  8 01:21:43 1997  Mark Mitchell  <mmitchell@usa.net>

* pt.c (begin_member_template_processing): Take a function as
argument, not a set of template arguments.  Use the template
parameters, rather than the arguments.  Handle non-type parameters
correctly.  Push a binding level for the parameters so that multiple
member templates using the same parameter names can be declared.
(end_member_template_processing): Pop the binding level.
(push_template_decl): Mark member templates as static when
appropriate.

* lex.c (do_pending_inlines): Pass the function, not its template
arguments, to begin_member_template_processing.
(process_next_inline): Likewise.
(do_pending_defargs): Likewise.

* error.c (dump_expr): Obtain the correct declaration for a
TEMPLATE_CONST_PARM.

* call.c (add_template_conv_candidate): New function.
(build_object_call): Handle member templates, as done in the other
build_ functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15155 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/error.c
gcc/cp/lex.c
gcc/cp/pt.c