------- Comment #2 from jason at gcc dot gnu dot org 2010-04-27 21:26 ------- Subject: Bug 43856
Author: jason Date: Tue Apr 27 21:26:25 2010 New Revision: 158807 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158807 Log: PR c++/43856 * name-lookup.c (qualify_lookup): Disqualify lambda op(). * class.c (current_nonlambda_class_type): New fn. * semantics.c (nonlambda_method_basetype): New. * cp-tree.h: Declare them. * tree.c (maybe_dummy_object): Handle implicit 'this' capture. Added: trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/class.c trunk/gcc/cp/cp-tree.h trunk/gcc/cp/name-lookup.c trunk/gcc/cp/semantics.c trunk/gcc/cp/tree.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43856