std::experi...mental::any)(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

🌸 NAME 🌸

okay bestie, welcome to the std::experi...mental::any)(3) page, which lives in the C++ Standard Libary manual. This one is all about std::experimental::swap(std::experimental::any) β€” and the NAME line is living its best repetitive life as std::experimental::swap(std::experimental::any) - std::experimental::swap(std::experimental::any). iconic, honestly. πŸ’…


✨ Synopsis ✨

void swap(any& lhs, any& rhs) noexcept;  (library fundamentals TS)

Swaps the content of two any objects. The way it does that? It calls lhs.swap(rhs). no cap. 🫢


πŸŽ€ Parameters πŸŽ€

  • lhs, rhs β€” objects to swap

πŸ¦‹ Return value πŸ¦‹

(none) β€” literally nothing comes back, bestie. that's the whole vibe. 😌


πŸ”₯ See also πŸ”₯

swap swaps two any objects β€” and yes, it's a public member function. slay. ✨


πŸ’… Category πŸ’…

  • Noindexed pages

source + version + date check: this little icon came from http://cppreference.com, stamped 2024.06.10, and the footer title is std::experi...mental::any)(3). periodt. πŸŽ€πŸ’–

πŸ“¦ where this page comes from