std::basic_ostringstream::swap
From cppreference.com
< cpp | io | basic ostringstream
| void swap( basic_ostringstream& other ); |
(C++11以降) | |
ストリームの状態を other の状態と交換します。
これは、basic_ostream<CharT, Traits>::swap(other) および rdbuf()->swap(*other.rdbuf()) を呼び出すことによって行われます。
目次 |
[編集] パラメータ
| その他 | - | 状態を交換するストリーム |
[編集] 戻り値
(なし)
[編集] 例外
実装定義の例外をスローする場合があります。
[編集] 例
| このセクションは未完成です 理由: 例がありません |
[編集] 関連項目
| (C++11) |
文字列ストリームを移動する (public メンバ関数) |
| (C++11) |
2つの basic_stringbuf オブジェクトをスワップする( std::basic_stringbuf<CharT,Traits,Allocator> の public メンバ関数) |