re PR libstdc++/12297 (istream::sentry::sentry() handles eof() incorrectly.)
2003-11-26 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/12297 * include/bits/istream.tcc (basic_istream::sentry::sentry): Set failbit and eofbit when eof. * testsuite/27_io/basic_istream/sentry/char/12297.cc: New. From-SVN: r73968
Showing
Please
register
or
sign in
to comment