CppCon 2019 has ended
Friday, September 20 • 13:30 - 14:30
From Functions to Lambdas: How Do C++ Callables _Really_ Work?

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Functions have long been a mainstay of C++ flow of control. But there are several other entities which the language considers callable/invokable.

After a brief review of the salient properties of (a) function types (including the "abominable" ones!) and (b) the call operator, this talk will focus on the other entities to which the operator may be applied: pointers and references to functions and member functions, function objects, lambdas, and callbacks. We will pay special attention to the evolution of C++ lambdas, from their limited capabilities in C++11 through their various enhancements in C++14/17/20.

Along the way, we will also explore some of the standard library components that can be useful tools when programming with C++ callables.

avatar for Walter E Brown

Walter E Brown

With broad experience in industry, academia, consulting, and research, Dr. Walter E. Brown has been a computer programmer for almost 60 years, and a C++ programmer for more than 40 years.He joined the C++ standards effort in 2000, and has since written circa 175 proposal papers. Among... Read More →

Friday September 20, 2019 13:30 - 14:30 MDT
Summit 8/9
  • Algorithms/Functional