https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28103
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- For output, the requirement to set failbit was present since C++98, not added by a DR.
redi at gcc dot gnu.org via Gcc-bugs Thu, 13 Jun 2024 14:09:58 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28103
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- For output, the requirement to set failbit was present since C++98, not added by a DR.