This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: [Patch] Simplify basic_stringbuf::seekoff


Paolo Carlini wrote:

__newoffi, likewise, which depends
on __endi, is used only when __endi is assigned _M_in_end.

Sorry. Please scratch this line of reasoning, not correct but luckily not relevant.

I really wanted to say: __newoffi can be zero, but when is
actually used either is zero or is equal to __endi/__curi - __beg,
with __endi == _M_in_end/__curi == _M_in_cur.

Paolo.



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