[Bug libstdc++/40732] fstream get/put pointers have unexpected positions

2009-07-13 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-07-13 19:59 --- The pointers are in some sense independent, but in this exact technical sense: a seekg ends up calling the seekoff fstream virtual and therefore the mode becomes 'uncommitted', neither read mode neither write m

[Bug libstdc++/40732] fstream get/put pointers have unexpected positions

2009-07-13 Thread elizbus at yahoo dot com
--- Comment #2 from elizbus at yahoo dot com 2009-07-13 17:24 --- (In reply to comment #1) > Your assumption is wrong, in the sense that nothing in the Standard mandates > it > (likewise in C, for plain C streams, by the way) and in fact most, if not all, > current good performing imple

[Bug libstdc++/40732] fstream get/put pointers have unexpected positions

2009-07-13 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-07-13 14:33 --- Your assumption is wrong, in the sense that nothing in the Standard mandates it (likewise in C, for plain C streams, by the way) and in fact most, if not all, current good performing implementation do not satis