3 ms·
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-tim
by xsmasher 4y 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.