std::basic_osyncstream<CharT,Traits,Allocator>::operator=
提供: cppreference.com
< cpp | io | basic osyncstream
basic_osyncstream& operator=( std::basic_osyncstream&& other) noexcept; |
||
同期出力ストリームをムーブ代入します。
まず emit() を呼びます。 この emit() の呼び出しによって例外が投げられた場合、それはキャッチされ、無視されます。
その後、 other
の対応するメンバからラップされた std::basic_syncbuf をムーブ代入し (このムーブ代入の後、 other.get_wrapped() はヌルポインタを返し、 other
の破棄は出力を生成しなくなります)、基底 std::basic_ostream をムーブ代入します (これは rdbuf を除いたすべてのストリームの状態変数を *this と other
の間で入れ替えます)。
[編集] 引数
other | - | ムーブする別の osyncstream |
[編集] 例
This section is incomplete Reason: no example |
[編集] 関連項目
basic_osyncstream を構築します (パブリックメンバ関数) | |
basic_osyncstream を破棄し、その内部バッファを排出します (パブリックメンバ関数) | |
内部データを最終宛先に転送するためにベースとなる basic_syncbuf に対して emit を呼びます (パブリックメンバ関数) |