名前空間
変種
操作

std::basic_istringstream::operator=

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

ストリーム `other` を `*this` にムーブ代入します。これにより、基底クラスである std::basic_istream と、関連付けられている std::basic_stringbuf の両方がムーブ代入されます。

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

目次

[編集] パラメータ

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

[編集] 戻り値

*this

[編集]

[編集] 関連項目

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