std::basic_ospanstream<CharT,Traits>:: swap
|
void
swap
(
basic_ospanstream
&
other
)
;
|
(C++23以降) | |
ストリームの状態を
other
と交換します。
これは、 std:: basic_ostream < CharT, Traits > :: swap ( other ) を呼び出し、ラップされた std::basic_spanbuf オブジェクト( * rdbuf ( ) でアクセス可能)を交換することによって行われます。
目次 |
パラメータ
| other | - | 状態を交換するストリーム |
戻り値
(なし)
例外
実装定義の例外をスローする可能性があります。
例
|
このセクションは不完全です
理由: 例がありません |
関連項目
2つの
basic_spanbuf
オブジェクトを交換する
(
std::basic_spanbuf<CharT,Traits>
の公開メンバ関数)
|