名前空間
変種
操作

std::basic_stringstream::operator=

From cppreference.com
 
 
 
 
basic_stringstream& operator=( basic_stringstream&& other );
(C++11以降)

other*this にムーブ代入します。これにより、std::basic_iostream 基底クラスと関連する std::basic_stringbuf の両方がムーブ代入されます。

基底クラスのムーブ代入は、rdbuf を除くすべてのストリーム状態変数を *thisother の間でスワップすることに注意してください。

目次

[編集] パラメータ

その他 - ムーブ元のストリングストリーム

[編集] 戻り値

*this

[編集]

[編集] 関連項目

(C++11)
2つの文字列ストリームをスワップする
(public メンバ関数) [編集]
(C++11)
basic_stringbuf オブジェクトを代入する
(std::basic_stringbuf<CharT,Traits,Allocator> の public メンバ関数) [編集]
(C++11)
別のbasic_iostreamをムーブ代入します
(protected member function) [編集]
English 日本語 中文(简体) 中文(繁體)