Lambdas, Lambdas Everywhere
Why care about C++0x lambda functions? Syntactically, they are nothing but sugar for function objects. However, they are an essential and enabling sugar that will change the way we will write C++ code more often than most people realize. This talk will cover what lambda functions are and how to use them effectively, including how lambdas touch many wide-ranging kinds of code — from their convenience when writing concurrent and scalably parallel code, to how they stand to revolutionize STL usability and programming, to how they enable such small conveniences as local functions and local variable initialization. Note that lambda functions, although futuristic, are not a far-future feature. They are available today in several shipping C++ compilers, including Visual Studio 2010. The future is now. Come find out how this powerful feature affects you and your code.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.