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

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

✨ NAME ✨

okay bestie, this page is std::experi..._view::swap(3) from the C++ Standard Libary manual β€” yes, that’s literally how β€œLibrary” is spelled in the header, iconic behavior πŸ’… β€” and the star is std::experimental::basic_string_view::swap.

The original NAME line is giving β€œme, myself, and I” energy: std::experimental::basic_string_view::swap - std::experimental::basic_string_view::swap. Both names present, no cap. 🫢


🌸 Synopsis 🌸

the signature is constexpr and noexcept, fr fr:

constexpr void swap(basic_string_view& v) noexcept;

✨ from the library fundamentals TS ✨

and what it does? it exchanges the view with that of v. that’s the whole plot. πŸ’–


πŸ’… Parameters πŸ’…

  • v β€” the view to swap with. that’s it, she’s simple.

πŸŽ€ Return value πŸŽ€

  • (none) β€” literally no return value. it’s not giving you anything back, bestie. 😭

πŸ”₯ Complexity πŸ”₯

  • Constant. always. no cap. ⭐

πŸ’€ Category πŸ’€

  • Noindexed pages

and that’s the whole vibe πŸ’‹ source: http://cppreference.com, date: 2024.06.10, footer tag: std::experi..._view::swap(3). mwah 🧚

πŸ“¦ where this page comes from