Namespaces
Variants

std::basic_stringstream:: operator=

From cppreference.net
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 をムーブ代入する
(保護メンバ関数)