(C++17) | ||||
Sequence | ||||
(C++11) | ||||
(C++26) | ||||
(C++26) | ||||
(C++11) | ||||
Associative | ||||
Unordered associative | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
Adaptors | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
Views | ||||
(C++20) | ||||
(C++23) | ||||
Tables | ||||
Iterator invalidation | ||||
Member function table | ||||
Non-member function table |
void swap( flat_set& other)noexcept; | (since C++23) | |
other
. Effectively callsranges::swap(compare, other.compare);ranges::swap(c, other.c);
Contents |
other | - | container adaptor to exchange the contents with |
(none)
(none)
Same as underlying container (typically constant).
This section is incomplete Reason: no example |
(C++23) | specializes thestd::swap algorithm (function template)[edit] |