Edit

Share via


<streambuf>

Include the iostreams standard header <streambuf> to define the class template basic_streambuf, which is basic to the operation of the iostreams classes. This header is typically included for you by another of the iostreams headers; you rarely need to include it directly.

Syntax

#include <streambuf>

Typedefs

Type name Description
streambuf A specialization of basic_streambuf that uses char as the template parameters.
wstreambuf A specialization of basic_streambuf that uses wchar_t as the template parameters.

Classes

Class Description
basic_streambuf Class The class template describes an abstract base class for deriving a stream buffer, which controls the transmission of elements to and from a specific representation of a stream.

See also

Header Files Reference
Thread Safety in the C++ Standard Library
iostream Programming
iostreams Conventions