std::basic_ostringstream::operator=
From 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 の間でスワップすることに注意してください。
目次 |
[編集] パラメータ
| その他 | - | ムーブ元のストリングストリーム |
[編集] 戻り値
*this
[編集] 例
| このセクションは未完成です 理由: 例がありません |
[編集] 関連項目
| (C++11) |
2つの文字列ストリームをスワップする (public メンバ関数) |
| (C++11) |
basic_stringbuf オブジェクトを代入する( std::basic_stringbuf<CharT,Traits,Allocator> の public メンバ関数) |
| (C++11) |
他のbasic_ostreamからムーブ代入する(protected member function) |