CopperSpice: std::variant
New video on the CopperSpice YouTube Channel:
std::variant
by Barbara Geller and Ansel Sermersheim
About the video:
In this video, we discuss the std::variant class and its relationship to C++ unions. We explore the drawbacks and constraints of the union abstraction in C++, how they changed in C++11, and how variant addresses many of these shortcomings.
Please take a look and remember to subscribe!