This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] Implement DW_TAG_*_parameter_pack
- From: Dodji Seketeli <dodji at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 10 Sep 2009 17:07:01 +0200
- Subject: Re: [RFA] Implement DW_TAG_*_parameter_pack
- References: <4AA18AF3.7050901@redhat.com> <4AA8211F.6060100@redhat.com>
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.