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

don dot wakefield at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Sep 17 21:11:00 GMT 2010



------- Comment #52 from don dot wakefield at gmail dot com  2010-09-17 21:11 -------
(In reply to comment #51)
>  ...As a matter of fact, many users found it also quite easy to
> use, because - in case wasn't clear already from my previous comments -
> **nobody ever** complained.

I just have to butt in here. I don't expect any sympathy, but the only reason
my company never complained about the performance issue with
filebuf::seekoff(0,cur) is that we only just started using compilers which
included that change. Our company can't be the only one beholden to
conservative customers, so I won't be surprised if you get other questions
similar to ours, years after the change went in.

In any case, I appreciate all the effort you have put into this.


-- 


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



More information about the Gcc-bugs mailing list