std::basic_stringstream::swap
提供: cppreference.com
< cpp | io | basic stringstream
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> のパブリックメンバ関数)
|