Learn · CERN

Talk1 h 5 min

Modern C++: Demystifying Value Categories in C++ (lecture 2)

Nis Meinert · CERN

Watch At CERN

About

Value categories are omnipresent in today's C++ code bases. Since the advent of move semantics the field continuously becomes wider and knowing terms such as lvalue and rvalue only from compiler error messages is not enough anymore.

I will present an overview about C++ value categories and decay rules, the subtle difference between pointers and references, explain why neither std::move moves nor std::forward forwards values, and talk about implication on related topics such as RVO..

0:06:25 Slide 1

0:12:50 Slide 2

0:19:15 Slide 3

0:25:40 Slide 4

0:32:06 Slide 5

0:38:31 Slide 6

0:44:56 Slide 7

0:51:21 Slide 8

0:57:46 Slide 9

1:04:12 Slide 10

The talk

  1. Modern C++: Demystifying Value Categories in C++ (lecture 2) 2020-10-02 · 1 h 5 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