std::flat_multiset<Key,Compare,KeyContainer>::swap
來自 cppreference.com
< cpp | 容器 | flat multiset
void swap( flat_multiset& other ) noexcept; |
(C++23 起) | |
other
的內容。實際呼叫ranges::swap(compare, other.compare); ranges::swap(c, other.c);
目錄 |
[編輯] 引數
其他 | - | 用於交換內容的容器介面卡 |
[編輯] 返回值
(無)
[編輯] 異常
(無)
[編輯] 複雜度
與底層容器相同(通常是常數時間)。
[編輯] 示例
本節不完整 原因:無示例 |
[編輯] 參閱
特化 std::swap 演算法 (函式模板) |