名前空間
変種
操作

std::basic_ospanstream<CharT,Traits>::swap

From cppreference.com
 
 
 
std::basic_ospanstream
メンバ関数
basic_ospanstream::swap
(C++23)
基になるバッファ操作
非メンバ関数
 
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 メンバ関数) [編集]
English 日本語 中文(简体) 中文(繁體)