Hacker News new | ask | show | jobs
by xsmasher 1200 days ago
If I understand std::variant, it THROWS if you try to access the wrong type?

I should have been specific, but all of the errors I mention above are compile-time errors, not run-time.