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

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Fri Sep 17 19:50:00 GMT 2010



------- Comment #49 from paolo dot carlini at oracle dot com  2010-09-17 19:50 -------
It was **a ton** of work and discussions in public and among the maintainers,
in private. Anyway, if you have something which doesn't touch basic_streambuf,
keeps the get and put areas of basic_filebuf completely separate, with seeks
switching between reading and writing via state variables, then it's fine, in
principle.


-- 


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



More information about the Gcc-bugs mailing list