Consumes the pending characters of an output sequence.
virtual int_type overflow (int_type c = traits::eof());
The function overflow overrides the basic_streambuf virtual function.
The function returns traits::eof() for failure or some unspecified result to indicate success.
basic_streambuf::overflow()