std::basic_stringstream:: operator=
From cppreference.net
<
cpp
|
io
|
basic stringstream
|
basic_stringstream
&
operator
=
(
basic_stringstream
&&
other
)
;
|
(C++11以降) | |
文字列ストリーム other を * this にムーブ代入します。これにより、 std::basic_iostream 基底クラスと関連する std::basic_stringbuf の両方が効果的にムーブ代入されます。
基底クラスのムーブ代入は、 rdbuf を除くすべてのストリーム状態変数を * this と other の間で交換することに注意してください。
目次 |
パラメータ
| other | - | 移動元の文字列ストリーム |
戻り値
* this
例
|
このセクションは不完全です
理由: 例がありません |
関連項目
|
(C++11)
|
二つの文字列ストリームを交換する
(公開メンバ関数) |
|
(C++11)
|
basic_stringbuf
オブジェクトを代入する
(
std::basic_stringbuf<CharT,Traits,Allocator>
の公開メンバ関数)
|
|
(C++11)
|
別の
basic_iostream
をムーブ代入する
(保護メンバ関数) |