Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the power of Lambda Functions in C++11 through this comprehensive CppNow conference talk. Delve into the syntax and usage of this new language feature, learning how anonymous functions can produce more expressive and less buggy code. Discover the advantages of lambda expressions over traditional function objects, including their ability to capture and modify state outside their scope. Engage with numerous examples and exercises to gain proficiency in using Lambda Functions. Cover topics such as introduction to lambdas, for-each operations, lambda expressions, closure objects, test parameters, capture methods (by reference, value, implicit, and constant), and scope restrictions. Bring your lambda-enabled compiler to practice writing better code with this powerful C++11 feature.
Syllabus
Introduction
For Each
Operator
Lambda Expressions
Closure Objects
Test Parameters
Capture
Capture All By Reference
Fill With Stuff
Stuff Size
Capture by Value
Capture by Implicit
Capture by Constant
Capture Restrictions
Scope Restrictions
Taught by
CppNow