overflow overloads
Synopses
Declared in <bslstl_stringbuf.h>
Consumes data from the buffer; writes to the controlled sequence.
virtual
int_type
overflow(int_type __c = traits_type::eof());
Append a character to the output sequence.
virtual
basic_stringbuf<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>::int_type
overflow(int_type character = traits_type::eof());
Return Value
-
eof() to indicate failure, something else (usually __c, or not_eof())
-
the written character, or
traits_type::eof()on failure
Parameters
Name |
Description |
__c |
An additional character to consume. |
character |
character to append, or |
Created with MrDocs