[RFA] Implement DW_TAG_*_parameter_pack

Dodji Seketeli dodji@redhat.com
Thu Sep 10 15:08:00 GMT 2009


Le 09/09/2009 23:41, Jason Merrill a écrit :
> On 09/04/2009 05:47 PM, Dodji Seketeli wrote:
>> +/* Return the function parameter pack of DECL.
>> +   DECL is a function template instantiation.  */
> 
> We shouldn't assume that a function can only have a single function
> parameter pack; though that is currently the case in G++, the
> restriction that a parameter pack can only appear at the end of the
> parameter list is probably going away (core issue 818, US comment 45).

Ah. Thanks for noticing this. Is it possible though that a function
parameter pack that is not at the end of the parameter list gets expanded
into an empty list of arguments ?


-- 
Dodji Seketeli
Red Hat, Inc.



More information about the Gcc-patches mailing list