std::basic_ostringstream::operator=
提供: cppreference.com
< cpp | io | basic ostringstream
basic_ostringstream& operator=( basic_ostringstream&& other ); | (C++11以上) | |
文字列ストリーム other
を *this
にムーブ代入します。 実質的に std::basic_ostream 基底クラスと紐付けられている std::basic_stringbuf の両方をムーブ代入します。
基底クラスのムーブ代入は (rdbuf を除いた) すべての状態変数を *this と other
の間でスワップすることに注意してください。
目次 |
[編集]引数
other | - | ムーブする文字列ストリーム |
[編集]戻り値
*this。
[編集]例
This section is incomplete Reason: no example |
[編集]関連項目
(C++11) | 2つの文字列ストリームを入れ替えます (パブリックメンバ関数) |
(C++11) | basic_stringbuf オブジェクトを代入します ( std::basic_stringbuf<CharT,Traits,Allocator> のパブリックメンバ関数) |
(C++11) | 別の basic_ostream からムーブ代入します (プロテクテッドメンバ関数) |