1) Constructs the iterator with the private streambuf_type* member set to
buffer and the failed() bit set to false. The behavior is undefined if buffer is a null pointer.
2) Same as ostreambuf_iterator(stream.rdbuf())
|stream||-||the output stream whose rdbuf() will be accessed by this iterator|
|buffer||-||the output stream buffer to be accessed by this iterator|