streambuf_type*
member set to buffer
and the failed() bit set to false
. The behavior is undefined if buffer
is a null pointer.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 |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/iterator/ostreambuf_iterator/ostreambuf_iterator