std::flat_set<Key,Compare,KeyContainer>::swap - cppreference.com
From cppreference.com
|
|
(since C++23) | |
Exchanges the contents of the container adaptor with those of other. Effectively calls
ranges::swap(compare, other.compare); ranges::swap(c, other.c);
Parameters
| other | - | container adaptor to exchange the contents with |
Return value
(none)
Exceptions
(none)
Complexity
Same as underlying container (typically constant).