https://github.com/avitase/cpp_lambda_talk
Presentation material for my talk "Everything you (n)ever wanted to know about C++'s Lambdas"
https://github.com/avitase/cpp_lambda_talk
exercise presentation-materials slides
Last synced: 9 months ago
JSON representation
Presentation material for my talk "Everything you (n)ever wanted to know about C++'s Lambdas"
- Host: GitHub
- URL: https://github.com/avitase/cpp_lambda_talk
- Owner: avitase
- Created: 2019-11-28T18:01:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:59:20.000Z (about 3 years ago)
- Last Synced: 2023-02-28T06:36:20.840Z (almost 3 years ago)
- Topics: exercise, presentation-materials, slides
- Language: TeX
- Homepage:
- Size: 8.75 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
Presentation material for my talk "Everything you (n)ever wanted to know about C++'s Lambdas". The slides and exercises are available at:
- slides: [slides.pdf](slides.pdf)
- exercises: [exercise.pdf](exercise.pdf)
# Abstract
From a syntactical point of view, the Lambda expression of C++ is nothing but syntactic sugar of a struct with an appropriate call operator overload. On the other hand, this simple syntax is shockingly flexible and allows powerful abstractions in a functional way, while providing elegant and easy to read code in a language that is notoriously famous for being unnecessary clunky and verbose.
I will give an overview about the basic syntax and best practices. I will then talk about stateful Lambdas, Lambda inheritance and their real-world applications.