This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- Comment #26 from potswa at mac dot com  2010-09-10 19:30 -------
(In reply to comment #25)
> Created an attachment (id=21769)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21769&action=view) [edit]
> alternative approach. untested
> 
> I hope this compiles ;v) . But it seems to "color within the lines."

Bah, it doesn't. I missed an underscore at 

    vv
    __is_tell? __state_type(_M_state_last) : move(_M_state_last);
    ^^


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]