std::basic_stringstream::operator=
From cppreference.com
< cpp | io | basic stringstream
| basic_stringstream& operator=( basic_stringstream&& other ); |
(C++11以降) | |
other を *this にムーブ代入します。これにより、std::basic_iostream 基底クラスと関連する 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_iostreamをムーブ代入します(protected member function) |