Lately I’ve been getting very excited about the support for lambdas in VC2010. I’m slowly starting to grasp the full potential this feature has in transforming C++ into something alot better.
But then I realized that this potential greatly depends on main stream support of lambdas in day to day libraries like boost and QT.
Does anyone know if there are plans to extend these libraries with the new features of C++0x?
lambdas practically replace the need for boost::lambda and everything in boost that interacts with it.
QT could add support for lambdas in all of their container and maybe even as an alternative way of defining SLOTs
Lambdas already fit very well into existing libraries – anywhere that a function accepts a function object of a type given by a template parameter.
This is one of the great things about them – they’re a classic example of a language feature that codifies existing practice in a nifty syntax.
Obviously the boost lambda library becomes redundant, but that means it doesn’t require any new features to be added to it.