Objective-C Blocks vs. C++0x Lambdas

Mike Ash: By allowing each lambda to specify how it captures things, the C++0x system allows more flexibility. With Objective-C blocks, a given variable is either __block or it’s not. Every block which captures that variable must capture it in the same way. C++0x lambdas allow each lambda to make its own choice on how … Continue reading Objective-C Blocks vs. C++0x Lambdas