[Bug libstdc++/42857] std::istream::ignore(std::streamsize n) calls unnecessary underflow

cubbi at cubbi dot org gcc-bugzilla@gcc.gnu.org
Fri Apr 18 16:19:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42857

Sergey Zubkov <cubbi at cubbi dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cubbi at cubbi dot org

--- Comment #5 from Sergey Zubkov <cubbi at cubbi dot org> ---
Looking at existing implementations, libstdc++ is the odd one out: LLVM libc++,
IBM XL C++, Microsoft Visual Studio, and Oracle libCstd and stlport4 all let me
ignore exactly the number of characters requested, without an extra read from
the socket.



More information about the Gcc-bugs mailing list