C++11 does have lambdas

C++11 does have lambdas. Update code examples.