https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105081
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2023-01-18
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
We should add an overload of __throw_system_error that takes a const char*
because otherwise making this change would make the exception less informative.
Currently the std::runtime_error has a useful what() message:
std::__throw_runtime_error(
__N("random_device::random_device(const std::string&):"
" unsupported token"));