
14 Mar
2012
14 Mar
'12
7:48 p.m.
GCC 4.5 is in error to allow that. 4.7 does not allow it. The correct way to use a data member in the lambda is to capture "this", and then access the member via "this->member" inside the lambda. Regards, Nate