std::basic_syncbuf::swap(3)

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

hey bestie πŸ’– welcome to the C++ Standard Libary manual page for std::basic_syncbuf::swap(3) β€” we're doing a swap, and it's giving main character energy ✨

🌸 NAME 🌸

std::basic_syncbuf::swap β€” std::basic_syncbuf::swap

yes bestie, that's the whole name. Same icon on both sides of the dash, periodt πŸ’…


✨ Synopsis ✨

void swap( basic_syncbuf& other );

okay so here's the move: it exchanges the contents of the sync stream buffer with those of other. Swap, swap, slay πŸ¦‹ both sides get each other's contents, no cap.

πŸŽ€ Parameters πŸŽ€

  • other β€” sync stream buffer to exchange contents with 🫢 that's the one and only parameter, bestie.

πŸ’« Return value πŸ’«

(none) 😌 nothing, zero, nada β€” no return value, just a completed swap and immaculate vibes.

🧚 Example 🧚

This section is incomplete Reason: no example

ngl this part is literally incomplete. The reason given is: no example. That's the whole tea β˜•

πŸ‘‘ Category πŸ‘‘

  • * Todo no example

signing off with source/version http://cppreference.com Β· date 2024.06.10 Β· page std::basic_syncbuf::swap(3) mwah πŸ’…πŸ’–

πŸ“¦ where this page comes from