https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145
--- Comment #16 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Boris Kolpackov from comment #15) > I am interested to hear what is your recommendation to do instead, call > good() > after every IO operation? The normal way that iostreams are designed to be used: if (is >> x >> y >> z) or if (os << a << b << c) Not explicitly calling good() after every operation, that's dumb too.