std::swap(std::any)(3)
π
std::swap(std::any)(3) from the C++ Standard Libary π
okay so bestie, this page is from the C++ Standard Libary and it's all about the std::swap(std::any) situation. yes, the header literally says βLibaryβ β we are keeping it exactly as it appears, no editing the lore. π«Ά
β¨ NAME β¨
std::swap(std::any) β std::swap(std::any)
π¦ Synopsis π¦
Defined in header <any>:
void swap( any& lhs, any& rhs ) noexcept; (since C++17)
Overloads the std::swap algorithm for std::any. Swaps the content of two any objects by calling lhs.swap(rhs). π
πΈ Parameters πΈ
lhs,rhsβ objects to swap
π Return value π
(none)
π₯ See also π₯
swapβ swaps twoanyobjects (public member function)
mwah π source: http://cppreference.com Β· date: 2024.06.10 Β· page: std::swap(std::any)(3) π
π¦ 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