# Modern C++: Demystifying Value Categories in C++ (lecture 1)

- Institution: CERN
- Department: Inverted CSC
- Speaker: Nis Meinert
- Year: 2020
- Language: English
- Subjects: Computer science
- Source: [CERN](https://videos.cern.ch/record/3006685)
- 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)

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 forward values and talk about implication on related topics such as RVO..

0:07:04 Slide 1

0:14:08 Slide 2

0:21:12 Slide 3

0:28:16 Slide 4

0:35:20 Slide 5

0:42:24 Slide 6

0:49:28 Slide 7

0:56:32 Slide 8

1:03:36 Slide 9

## Lectures

1. [Modern C++: Demystifying Value Categories in C++ (lecture 1)](https://invisiblenetwork.ai/learn/cern/3006685/8ba45d32fb46), 1 h 11 min (CERN's player)
