This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Simplify basic_stringbuf::seekoff
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: libstdc++ at gcc dot gnu dot org, bkoz <bkoz at redhat dot com>
- Date: Fri, 30 May 2003 20:51:09 +0200
- Subject: Re: [Patch] Simplify basic_stringbuf::seekoff
- References: <3ED7A4FF.3060601@unitus.it>
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.