std::flat_set<Key,Compare,KeyContainer>::swap
From cppreference.com
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Containers library
(C++17)
(C++11)
(C++26)
(C++26)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++23)
(C++23)
(C++23)
(C++23)
(C++20)
(C++23)
Tables
void swap( flat_set& other ) noexcept;
(since C++23)
other
. Effectively calls ranges::swap (compare, other.compare); ranges::swap (c, other.c);
[edit] Parameters
other
-
container adaptor to exchange the contents with
[edit] Return value
(none)
[edit] Exceptions
(none)
[edit] Complexity
Same as underlying container (typically constant).
[edit] Example
This section is incomplete
Reason: no example
Reason: no example