# Modern C++: Everything you (n)ever wanted to know about C++'s Lambdas (demo)

- Institution: CERN
- Department: Inverted CSC
- Speaker: Nis Meinert
- Year: 2020
- Language: English
- Subjects: Computer science
- Source: [CERN](https://videos.cern.ch/record/3011914)
- Licence: [CERN](http://copyright.web.cern.ch)
- Who can watch: Tweens profiles and older (sources give no ratings; placed by Invisible Network from the source's own words)

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..

0:06:46 Slide 1

0:13:32 Slide 2

0:20:18 Slide 3

0:27:05 Slide 4

0:33:51 Slide 5

0:40:37 Slide 6

0:47:24 Slide 7

0:54:10 Slide 8

1:00:56 Slide 9

1:07:43 Slide 10

## Lectures

1. [Modern C++: Everything you (n)ever wanted to know about C++'s Lambdas (demo)](https://invisiblenetwork.ai/learn/cern/3011914/d7d91ca840ee), 1 h 8 min (CERN's player)
