The Many Variants of STD::variant in C++17 - Design and Implementation
code::dive conference via YouTube
Get 20% off all career paths from fullstack to AI
Stuck in Tutorial Hell? Learn Backend Dev the Right Way
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Explore a 44-minute conference talk from code::dive that delves into the controversial journey of implementing the discriminated union variant type in C++17. Learn about the intricate design decisions, performance considerations, and usability tradeoffs that shaped the development process through a firsthand account. Gain insights into the heated debates within the C++ committee, understand the technical challenges faced during implementation, and discover potential future developments including pattern matching enhancements and proposals to elevate variant to a first-class language feature.
Syllabus
Nevin Liber - The Many Variants of std variant
Taught by
code::dive conference