This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[C++]v3 streambuf::xsputn restricts underflow too much


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().



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]