re PR c++/56447 ([C++11] Lambda in template has conversion op it shouldn't have)
authorJason Merrill <jason@redhat.com>
Sun, 17 Mar 2013 02:35:18 +0000 (22:35 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 17 Mar 2013 02:35:18 +0000 (22:35 -0400)
commite2adfdad84167e48735d35154e0a8becf9264111
tree4e7fde1281608a8010dea2b084852afa029f76a3
parent5275b2c7d7c1ae888b1af5b6c86a96de032f12d8
re PR c++/56447 ([C++11] Lambda in template has conversion op it shouldn't have)

PR c++/56447
PR c++/55532
* pt.c (instantiate_class_template_1): Instantiate lambda capture
list here.
(tsubst_copy_and_build): Not here.

From-SVN: r196729
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-conv8.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mutable2.C [new file with mode: 0644]