◐ Shell
clean mode source ↗

std::basic_stringstream::swap - cppreference.com

提供: cppreference.com

<tbody> </tbody>

void swap( basic_stringstream& other );

(C++11以上)

ストリームの状態を other と交換します。

これは basic_iostream<CharT, Traits>::swap(other) および rdbuf()->swap(*other.rdbuf()) を呼ぶことによって行われます。

引数

戻り値

(なし)

関連項目

文字列ストリームをムーブします
(パブリックメンバ関数) [edit]
2つの basic_stringbuf オブジェクトを入れ替えます
(std::basic_stringbuf<CharT,Traits,Allocator>のパブリックメンバ関数) [edit]