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

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

πŸ’… std::experi...::any::swap(3) πŸŽ€

okay bestie, this one comes from the C++ Standard Libary manual and it is short, sweet, and very β€œswap and go” energy. The whole page is about one little std::experimental swap situation, and honestly? iconic.

✨ NAME ✨

std::experimental::any::swap - std::experimental::any::swap

(yes, the name and the one-liner are literally the same here. no notes. πŸ’…)

πŸ¦‹ Synopsis πŸ¦‹

void swap(any& other) noexcept;  (library fundamentals TS)

Swaps the content of two any objects. slay.

🌸 Parameters 🌸

  • other β€” object to swap with

🫢 Return value 🫢

(none) β€” nothing comes back, bestie.

🏷️ Category: 🏷️

  • Noindexed pages

okay bye bestie πŸ’– source: http://cppreference.com Β· version/date: 2024.06.10 Β· footer title: std::experi...::any::swap(3)

πŸ“¦ where this page comes from