Learn · CERN

Talk1 h 4 min

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

Nis Meinert · CERN

Watch At CERN

About

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:21 Slide 1

0:12:43 Slide 2

0:19:05 Slide 3

0:25:27 Slide 4

0:31:49 Slide 5

0:38:10 Slide 6

0:44:32 Slide 7

0:50:54 Slide 8

0:57:16 Slide 9

1:03:38 Slide 10

The talk

  1. Modern C++: Everything you (n)ever wanted to know about C++'s Lambdas (lecture) 2020-09-29 · 1 h 4 min · CERN's player

Credits and licence

Institution
CERN
Department
Inverted CSC
Speaker
Nis Meinert
Year
2020
Language
English
Subjects
Computer science
Source
CERN
Licence
CERN, as CERN states it. CERN's terms
Attribution
© CERN. CERN provides its audiovisual media free of charge for educational and informational use, credited to CERN; this lecture is shown in CERN's own player.
Who can watch
CERN gives no rating. Invisible Network shows it to Tweens profiles and older, judged from what the source says about it. How courses are placed