The streambuf Class

Unless you plan to make major changes to the iostream library, you do not need to work much with the streambuf class, which does most of the work for the other stream classes. In most cases, you will create a modified output stream by deriving only a new streambuf class and connecting it to the ostream class.

See Also

Concepts

Deriving Your Own Stream Classes