https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> --- I had been thinking thinking that exception_ptr would become compiler magic, since it's unspecified by the standard, while std::exception would not, since it's a standard class that is regularly derived from.