std::ostreambuf_iterator<CharT,Traits>:: operator=
| Iterator concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator primitives | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Algorithm concepts and utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Indirect callable concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Common algorithm requirements | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator adaptors | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
ostreambuf_iterator::operator=
|
||||
|
ostreambuf_iterator
&
operator
=
(
CharT c
)
;
|
||
failed()
が
false
を返す場合、文字
c
を関連付けられたストリームバッファに挿入します。これは
pbuf
-
>
sputc
(
c
)
を呼び出すことで行われます。ここで
pbuf
は
streambuf_type*
型のプライベートメンバです。それ以外の場合は何も行いません。
pbuf - > sputc ( c ) の呼び出しが Traits :: eof を返した場合、failed()フラグをtrueに設定します。
目次 |
パラメータ
| c | - | 挿入する文字 |
戻り値
* this
例
|
このセクションは不完全です
理由: 例がありません |
関連項目
|
出力領域に1文字を書き込み、次のポインタを進める
(
std::basic_streambuf<CharT,Traits>
の公開メンバ関数)
|