protected: virtual int_type overflow ( int_type c = Traits::eof() );
Writes some data from the put area to the associated character sequence (to the file).
Behaves like the base class
std::basic_streambuf::overflow, except that to write the data, first uses
std::codecvt::out of the imbued locale to convert the characters into external (possibly multibyte) representation, stored in a temporary buffer (allocated as large as necessary), then uses file I/O to copy all fully-converted bytes into the file.
If the conversion fails with
Traits::eof() without attempting any output.
If the associated file is not open (
is_open() == false), returns
Traits::eof() before doing anything.
Traits::not_eof(c) to indicate success or
Traits::eof() to indicate failure.
| writes characters to the associated output sequence from the put area
(virtual protected member function of
| reads from the associated file
(virtual protected member function)
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.