This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Avoid using _M_move_out_cur in stringbuf/seeks
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 18 Jun 2003 13:23:27 -0500
- Subject: Re: [Patch] Avoid using _M_move_out_cur in stringbuf/seeks
- References: <3EF0A7DA.7040003@unitus.it>
>this only a first preparatory step toward major changes to
>stringbuf and filebuf: elimination of _M_out_lim, simplification
>of _M_move_in_cur and _M_move_out_cur to pbump and gbump.
Right on.
>Anyway, the below is really simple minded: we cannot seek
>beyond _M_out_lim, therefore _M_move_out_cur boils down
>to simply updating _M_out_cur. Overall, the code becomes
>simpler and symmetric get area <-> put area.
Looks good.
-benjamin