--- Comment #3 from redi at gcc dot gnu dot org 2010-06-07 11:56 ---
[lib.string.io] paragraph 8
If the function extracts no characters, it calls is.setstate(ios_base::failbit)
which may throw ios_base::failure (27.4.4.3).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1
--- Comment #2 from qwak82 at gmail dot com 2010-06-07 11:36 ---
But also fail bit, this program prints:
line: a //this is OK, first line
line://this is also OK, second (empty) line
fail bit //eof is set - OK; but fail bit should be set here?
#include
#incl
--- Comment #1 from schwab at linux-m68k dot org 2010-06-07 11:19 ---
You are getting eof.
--
schwab at linux-m68k dot org changed:
What|Removed |Added
Status