How do I create my own ostream/streambuf?

The canonical approach consists in defining your own streambuf.
You should have a look at:

  • Angelika LAnger’s articles on IOStreams derivation
  • James Kanze’s articles on filtering streambufs
  • boost.iostream for examples of application

Leave a Comment