ostreambuf_iterator(streambuf_type *sb) throw();
ostreambuf_iterator(ostream_type& is) throw();
The first constructor initializes the output stream-buffer pointer with sb. The second constructor initializes the output
stream-buffer pointer with is.rdbuf(). (The stored pointer must not be a null pointer.)