Re: [PATCH] Fix PR c++/60033

2014-03-07 Thread Jason Merrill
On 03/07/2014 06:07 PM, Adam Butcher wrote: + /* When retrieving a capture pack from a generic lambda, remove the +lambda call op's own template argument list from ARGS. Only the +template arguments active for the closure type should be used to +retrie

Re: [PATCH] Fix PR c++/60033

2014-03-07 Thread Jason Merrill
On 03/04/2014 02:58 PM, Adam Butcher wrote: PR c++/60033 * pt.c (retrieve_specialization): When retrieving a capture pack from a generic lambda, remove the lambda's own template argument list prior to fetching the specialization. I think I'd prefer to handle this