Hacker News new | ask | show | jobs
by Spex_guy 1528 days ago
The compiler adds a tag in debug modes, but not in release modes.
1 comments

Neat, that's somewhere in between a `union` and a `std::variant`. You could build your own, but it's cool that it's a first class member of the language.