• jason's avatar
    Mon Sep 8 01:21:43 1997 Mark Mitchell <mmitchell@usa.net> · f5308315
    jason authored
    	* 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
    f5308315
pt.c 105 KB