overflow overloads
Synopses
Declared in <bslstl_syncbuf.h>
Consumes data from the buffer; writes to the controlled sequence.
virtual
int_type
overflow(int_type __c = traits_type::eof());
Append the specified character to the internal buffer, or do nothing if traits_type::eof() is passed.
basic_syncbuf<CHAR, TRAITS, ALLOCATOR>::int_type
overflow(int_type character = traits_type::eof()) override;
Return Value
eof() to indicate failure, something else (usually __c, or not_eof())
Parameters
Name |
Description |
__c |
An additional character to consume. |
Created with MrDocs