Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 2
    You should probably create your own streambuf class, which handles all the heavy work, and then create a very simple ostream class that inherits std::basic_ostream and initializes itself with your streambuf object. Commented Dec 4, 2012 at 13:23
  • 4
    You should check out Boost.Iostreams - it make creating custom streams and buffers a lot simpler. Commented Dec 4, 2012 at 13:35
  • Thank you for your edit, @MarkusParker Commented Jul 12, 2016 at 16:52