Standard C++ Library Reference ISO/IEC (VERSION3)
basic_streambuf::int_type
typedef typename traits_type::int_type int_type;
The type is a synonym for traits_type::int_type.
basic_streambuf::off_type
typedef typename traits_type::off_type off_type;
The type is a synonym for traits_type::off_type.
basic_streambuf::overflow
virtual int_type overflow(int_type meta =
traits_type::eof());
If meta does not compare equal to traits_type::eof(), the protected virtual member
function endeavors to insert the element traits_type:: to_char_type(meta) into
the output stream. It can do so in various ways:
If a write position is available, it can store the element into the write position and
increment the next pointer for the output buffer.
●
It can make a write position available by allocating new or additional storage for the
output buffer.
●
It can make a write position available by writing out, to some external destination, some
or all of the elements between the beginning and next pointers for the output buffer.
●
If the function cannot succeed, it returns traits_type::eof() or throws an exception.
Otherwise, it returns traits_type::not_eof(meta). The default behavior is to return
traits_type::eof().
basic_streambuf::pbackfail
virtual int_type pbackfail(int_type meta =
traits_type::eof());
The protected virtual member function endeavors to put back an element into the input stream,
then make it the current element (pointed to by the next pointer). If meta compares equal to
traits_type::eof(), the element to push back is effectively the one already in the stream
before the current element. Otherwise, that element is replaced by traits_type::
to_char_type(meta). The function can put back an element in various ways:
If a putback position is available, it can store the element into the putback position and
decrement the next pointer for the input buffer.
●
It can make a putback position available by allocating new or additional storage for the●