(no title)
mFixman | 11 days ago
Still, it's a wasted opportunity not to have a language-level overload to the `switch` statement that allows nice pattern matching. Even with std::is_within_lifetime C++ unions are prone to errors and hard to work with.
sebtron|11 days ago
https://en.cppreference.com/w/cpp/utility/variant.html
maleldil|11 days ago