Standard C++ Library Reference ISO/IEC (VERSION3)

basic_streambuf::sputn
streamsize sputn(const char_type *ptr, streamsize count);
The member function returns xsputn(ptr, count).
basic_streambuf::stossc
void stossc(); [optional]
The member function calls sbumpc(). Note that an implementation is not required to supply
this member function.
basic_streambuf::sungetc
int_type sungetc();
If a putback position is available, the member function decrements the next pointer for the input
buffer and returns traits_type::to_int_type( *gptr()). Otherwise it returns
pbackfail().
basic_streambuf::sync
virtual int sync();
The protected virtual member function endeavors to synchronize the controlled streams with
any associated external streams. Typically, this involves writing out any elements between the
beginning and next pointers for the output buffer. It does not involve putting back any elements
between the next and end pointers for the input buffer. If the function cannot succeed, it returns
-1. The default behavior is to return zero.
basic_streambuf::traits_type
typedef Tr traits_type;
The type is a synonym for the template parameter Tr.
basic_streambuf::uflow
virtual int_type uflow();
The protected virtual member function endeavors to extract the current element ch from the
input stream, then advance the current stream position, and return the element as
traits_type::to_int_type(ch). It can do so in various ways:
If a read position is available, it takes ch as the element stored in the read position and