On 17 February 2012 10:30, Deniz Sarikaya wrote: > Hello, > > I don't know if this is already known but in a member function, when I > use any variable of the derived class in a lambda, > I get the following error: capture of non-variable 'Derived::Class::variable' Code or it didn't happen. i.e. why are you expecting people to guess what you mean, instead of showing an example that demonstrates the problem?