https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109922

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-05-22

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Hmm, this is interesting. The spec has only mentioned setfill for output since
C++98, but Langer & Kreft says that setfill is for both input and output, and
says it applies to basic_ios<charT> (rather than basic_ostream).

I wonder if pre-standard iostreams defined this for istream, and that changed,
which explains the behaviour of libstdc++ and MSVC. I'll dig further ...

Reply via email to