Include the iostreams standard header <streambuf> to define the template class 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.

#include <streambuf>


A specialization of basic_streambuf that uses char as the template parameters.


A specialization of basic_streambuf that uses wchar_t as the template parameters.

basic_streambuf Class

The template class 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft