Put c at the next put position, growing the buffer if needed.
Synopsis
Declared in <bdlsb_overflowmemoutstreambuf.h>
virtual
int_type
overflow(int_type c = bsl::streambuf::traits_type::eof()) override;
Description
If c is not EOF, adjust the underlying buffer so that the next put position is valid, put the specified c at this position, and increment the put position. Return c on success, and traits_type::not_eof(c) if c is EOF.
Return Value
c on success, or traits_type::not_eof(c) if c is EOF
Parameters
Name |
Description |
c |
character to put, or |
Created with MrDocs