[Bug c++/56447] [C++11] Lambda in template has conversion op it shouldn't have

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 17 02:36:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56447

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2013-03-17 02:35:34 UTC ---
Author: jason
Date: Sun Mar 17 02:35:18 2013
New Revision: 196729

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196729
Log:
    PR c++/56447
    PR c++/55532
    * pt.c (instantiate_class_template_1): Instantiate lambda capture
    list here.
    (tsubst_copy_and_build): Not here.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-conv8.C
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mutable2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c



More information about the Gcc-bugs mailing list