This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/45628] std::fstream::tellg invalidates I/O buffer
- From: "don dot wakefield at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Sep 2010 21:11:26 -0000
- Subject: [Bug libstdc++/45628] std::fstream::tellg invalidates I/O buffer
- References: <bug-45628-18186@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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