Arthur O'Dwyer - Generic Lambdas from Scratch

This is a past event

65 people went


1633 Broadway 38th Floor · New York, NY

How to find us

Please use the building entrance on the west side of Broadway. You must be RSVP'd under your name and have matching ID, or building security will not be able to allow you up. Please arrive no earlier than 6PM.

Location image of event venue



Lambdas (even those mysterious C++14 generic lambdas) are just syntactic sugar atop constructs that are perfectly understandable when approached from the right direction.

We’ll start with the implementation of C-style functions, then move to overloading, function templates, non-static member functions, and C++11 lambdas. We'll demystify C++14 generic lambdas (the kind with "auto") and cover some minor improvements to lambdas in C++17 and C++2a. Finally, we’ll detour into the implementations of std::function and std::bind to show how they’re different from lambdas.


Arthur O'Dwyer started his career writing pre-C++11 compilers for Green Hills Software; he currently writes C++14 for Akamai Technologies. Arthur is the author of "Colossal Cave: The Board Game," "Mastering the C++17 STL" (the book), and "The STL From Scratch" (the training course). He is occasionally active on the C++ Standards Committee and has a blog mostly about C++.