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] Avoid using _M_move_out_cur in stringbuf/seeks


>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


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