Flush the output buffer, optionally appending character c first.
Synopsis
Declared in <bdls_fdstreambuf.h>
virtual
int_type
overflow(int_type c = traits_type::eof()) override;
Description
If in output mode, write the contents of the buffer to output. Return traits_type::eof() on failure, and any other value on success. Optionally specify a character c to be appended to the buffer prior to the flush. If no character is specified, no character is appended to the buffer. If not in output mode, switch to output mode. Note that the write will translate ` `s to `r
`s.
Return Value
traits_type::eof() on failure, and any other value on success
Parameters
Name |
Description |
c |
character to append before flushing, or |
Created with MrDocs