Completed
What is a variant?
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
The Many Variants of std - variant
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 What is a variant?
- 3 Three vocabulary sum types
- 4 Why is noexcept move construction desirable?
- 5 optional
- 6 C++ Committee
- 7 Designing variant
- 8 Tradeoffs
- 9 Never-empty
- 10 Comparisons
- 11 Default Construction
- 12 Accessing its element
- 13 "Ideal" Solution: False Hopes
- 14 Initial Solution: Double Storage
- 15 Current Approach: Temporary Heap Backup
- 16 Nothrow Default Constructible
- 17 Element access
- 18 Partially formed state
- 19 Sidebar
- 20 Sorting types
- 21 std::variant v2
- 22 std::variant v3
- 23 Pessimization
- 24 Competing papers
- 25 std::variant v7