https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90246
Tavian Barnes <tavianator at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tavianator at gmail dot com --- Comment #2 from Tavian Barnes <tavianator at gmail dot com> --- > It's too late to change this now, but we could still improve the messages Would it be ABI compatible to make a new exception type that derives from std::bad_variant_access, and throw that instead?