std::swap(std::basic_syncbuf)
提供: cppreference.com
< cpp | io | basic syncbuf
template<class CharT, class Traits, class Allocator > void swap( std::basic_syncbuf<CharT, Traits, Allocator>& lhs, | (C++20以上) | |
std::swap アルゴリズムを std::basic_syncbuf に対して特殊化します。 lhs
と rhs
の状態を交換します。 実質的に lhs.swap(rhs) を呼びます。
目次 |
[編集]引数
lhs, rhs | - | 状態を入れ替える std::basic_syncbuf オブジェクト |
[編集]戻り値
(なし)
[編集]例
This section is incomplete Reason: no example |
[編集]関連項目
2つの basic_syncbuf オブジェクトを入れ替えます (パブリックメンバ関数) | |
2つのオブジェクトの値を入れ替えます (関数テンプレート) |