[Bug libstdc++/45628] std::fstream::tellg invalidates I/O buffer

potswa at mac dot com gcc-bugzilla@gcc.gnu.org
Fri Sep 17 19:46:00 GMT 2010



------- Comment #48 from potswa at mac dot com  2010-09-17 19:45 -------
I'm having trouble finding the discussion that precedes the June 24, 2003
redesign, but I'll add "unified" to the search terms.

Actually, last week I started some changes with the aim of fixing the bug, not
changing the philosophy. Rather than eliminate the state variables, just call
overflow and underflow in the cases that otherwise fail. So if I finish that,
and it performs well, I suppose I'll start an RFC.


-- 


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



More information about the Gcc-bugs mailing list