This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[C++]v3 streambuf::xsputn restricts underflow too much
- To: gcc-bugs at gcc dot gnu dot org
- Subject: [C++]v3 streambuf::xsputn restricts underflow too much
- From: Larry Evans <jcampbell3 at prodigy dot net>
- Date: Wed, 06 Dec 2000 06:24:47 -0600
The code in streambuf.tcc for xsputn requires the output from underflow(__c)
to be __c to indicate no error;however, the standard, I believe, only requires
the output to be something other than traits::eof().