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
PR c++/60033
* pt.c (tsubst_copy): When retrieving a capture pack from a generic
lambda, remove the lambda's own template argument list prior to fetching
the specialization.
PR c++/60033
* g++.dg/cpp1y/pr60033.C: New testcase.
---
gcc/cp/pt.c
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
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.
PR c++/60033
* g++.dg/cpp1y/pr60033.C: New testcase.
---
gcc/cp