The C++ Standard, [filebuf], paragraph 2 , states [ISO/IEC 14882-2014], states:
The restrictions on reading and writing a sequence controlled by an object of class
basic_filebuf<charT, traits>
are the same as for reading and writing with the Standard C libraryFILE
s.
The C Standard, subclause 7.19.5.3, paragraph 6, places the following restrictions on FILE
objects opened for both reading and writing [ISO/IEC 9899:1999]:
...
Bibliography
[ISO/IEC 14882-2014] | Clause 27, "Input/Output Library" |
[ISO/IEC 9899:1999] | 7.19.5.3, "The fopen Function" |
...