std::basic_ospanstream<CharT,Traits>::swap
From cppreference.com
< cpp | io | basic ospanstream
| void swap( basic_ospanstream& other ); |
(C++23から) | |
ストリームの状態を other の状態と交換します。
これは、std::basic_ostream<CharT, Traits>::swap(other) を呼び出し、ラップされた std::basic_spanbuf オブジェクト(*rdbuf() からアクセス可能)を交換することで行われます。
目次 |
[編集] パラメータ
| その他 | - | 状態を交換するストリーム |
[編集] 戻り値
(なし)
[編集] 例外
実装定義の例外をスローする場合があります。
[編集] 例
| このセクションは未完成です 理由: 例がありません |
[編集] 関連項目
2つのbasic_spanbufオブジェクトを交換します( std::basic_spanbuf<CharT,Traits> の public メンバ関数) |