std::basic_stringstream::swap
提供: cppreference.com
void swap( basic_stringstream& other ); |
(C++11以上) | |
ストリームの状態を other と交換します。
これは basic_iostream<CharT, Traits>::swap(other) および rdbuf()->swap(*other.rdbuf()) を呼ぶことによって行われます。
引数
| other | - | 状態を交換するストリーム |
戻り値
(なし)
例
| This section is incomplete Reason: no example |
関連項目
(C++11) |
文字列ストリームをムーブします (パブリックメンバ関数) |
(C++11) |
2つの basic_stringbuf オブジェクトを入れ替えます ( std::basic_stringbuf<CharT,Traits,Allocator>のパブリックメンバ関数)
|