The Many Variants of std - variant

The Many Variants of std - variant

CppNow via YouTube Direct link

optional

5 of 25

5 of 25

optional

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. 1 Intro
  2. 2 What is a variant?
  3. 3 Three vocabulary sum types
  4. 4 Why is noexcept move construction desirable?
  5. 5 optional
  6. 6 C++ Committee
  7. 7 Designing variant
  8. 8 Tradeoffs
  9. 9 Never-empty
  10. 10 Comparisons
  11. 11 Default Construction
  12. 12 Accessing its element
  13. 13 "Ideal" Solution: False Hopes
  14. 14 Initial Solution: Double Storage
  15. 15 Current Approach: Temporary Heap Backup
  16. 16 Nothrow Default Constructible
  17. 17 Element access
  18. 18 Partially formed state
  19. 19 Sidebar
  20. 20 Sorting types
  21. 21 std::variant v2
  22. 22 std::variant v3
  23. 23 Pessimization
  24. 24 Competing papers
  25. 25 std::variant v7

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.