ostreambuf_iterator& operator=( CharT c ); |
If failed()
returns false
, inserts the character c
into the associated stream buffer by calling pbuf->sputc(c)
, where pbuf
is the private member of type streambuf_type*
. Otherwise, does nothing.
If the call to pbuf->sputc(c)
returns Traits::eof
, sets the failed() flag to true.
c | - | the character to insert |
*this
.
writes one character to the put area and advances the next pointer (public member function of std::basic_streambuf<CharT,Traits> ) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/iterator/ostreambuf_iterator/operator%3D