Object lifetime
This lesson discusses how std::variant handles object lifetime.
We'll cover the following...
std::variant
and Object Lifetime
When you use union, you need to manage the internal state: call constructors or ...