std::flat_set::swap(3)
π std::flat_set::swap(3) π
okay bestie, this is the std::flat_set::swap(3) page from the C++ Standard Libary manual. yes, that spelling, we're keeping it exactly π.
πΈ NAME πΈ
std::flat_set::swap β std::flat_set::swap
β¨ Synopsis β¨
void swap( flat_set& other ) noexcept; (since C++23)
Exchanges the contents of the container adaptor with those of other. Effectively it calls:
ranges::swap(compare, other.compare);
ranges::swap(c, other.c);
π Parameters π
otherβ container adaptor to exchange the contents with
π«Ά Return value π«Ά
(none) β literally nothing, bestie π
π§ Exceptions π§
(none) β no throwing, no drama, periodt
π¦ Complexity π¦
Same as underlying container (typically constant). lowkey a slay β
π Example π
This section is incomplete.
Reason: no example.
π See also π
std::swap(std::flat_set)β specializes thestd::swapalgorithm. (C++23) (function template)
π Category π
- Todo no example
okay that's the whole page! footer vibes: source/version http://cppreference.com, date 2024.06.10, page std::flat_set::swap(3) β bye bestie, mwah ππ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms