std::basic_syncbuf::swap(3)
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
- 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