Hacker News new | ask | show | jobs
by lldb 1176 days ago
One example of it being useful is unchecked std::variant access in c++ - there isn’t any api to access it like a union (if you already know the type) but you can mark the wrong type path unreachable to the same effect.