This is the mail archive of the
mailing list for the libstdc++ project.
Re: RFC: basic_filebuf supporting non-modal I/O without seekpos
On 09/19/2010 06:41 PM, Paolo Carlini wrote:
> if seeks would become redundant in order to switch from reads to writes and viceversa, I expect that after your draft patch fixing 45628 would be just matter of *simplifying* _M_seek, that would be great. Is it correct?
... at least for the case that matters for mode switching that is, (0,
cur), or it can be treated again as part of seekoff and hacing open mode
in | out should not cause troubles anymore.