https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107778
--- Comment #5 from cqwrteur <unlvsur at live dot com> --- (In reply to Jonathan Wakely from comment #4) > (In reply to cqwrteur from comment #3) > > Also why the function is not noexcept? > > Writing to streams can throw. > > If you don't like the default handler you can provide your own. then do not use stream