CERN Accelerating science

Talk
Title Modern C++: Demystifying Value Categories in C++ (lecture 2)
Video
Loading
If you experience any problem watching the video, click the download button below
Download Embed
Mp4:Medium
(800 kbps)
High
(2000 kbps)
More..
Copy-paste this code into your page:
Author(s) Meinert, Nis (speaker) (German Aerospace Center (DLR))
Corporate author(s) CERN. Geneva
Imprint 2020-10-02. - 1:04:12.
Series (Inverted CSC)
(Inverted CERN School of Computing 2020)
Lecture note on 2020-10-02T15:10:00
Subject category Inverted CSC
Abstract 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.
Copyright/License © 2020-2024 CERN
Submitted by sebastian.lopienski@cern.ch

 


 Record created 2020-10-05, last modified 2022-11-02


External links:
Download fulltextTalk details
Download fulltextEvent details