RFC: basic_filebuf supporting non-modal I/O without seekpos

Paolo Carlini paolo.carlini@oracle.com
Sun Sep 19 17:05:00 GMT 2010


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.

Paolo.



More information about the Libstdc++ mailing list