Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The Many Variants of std::variant - Design Decisions and Future Evolution

Meeting Cpp via YouTube

Overview

Coursera Plus Annual Sale: All Certificates & Courses 25% Off!
Explore the controversial journey and design decisions behind C++17's discriminated union variant type in this conference talk from Meeting C++ 2024. Gain firsthand insights into the performance and usability tradeoffs that shaped the implementation of std::variant, including detailed explanations of the consensus-building process and committee deliberations. Learn about potential future developments, such as the integration of pattern matching to enhance usability and proposals to elevate variant to a first-class language feature. Delve into the technical considerations and competing design philosophies that influenced this important addition to the C++ standard library.

Syllabus

The Many Variants of std::variant - Nevin Liber - Meeting C++ 2024

Taught by

Meeting Cpp

Reviews

Start your review of The Many Variants of std::variant - Design Decisions and Future Evolution

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.