Namespaces
Variants
Actions

std::basic_syncbuf<CharT,Traits,Allocator>::swap

From cppreference.com
< cpp‎ | io‎ | basic syncbuf
 
C++
 
Input/output library
 
std::basic_syncbuf
Public member functions
basic_syncbuf::swap
(C++20)
Protected member functions
Non-member functions
 
void swap( basic_syncbuf& other );

Exchanges the contents of the sync stream buffer with those of other.

[edit] Parameters

other - sync stream buffer to exchange contents with

[edit] Return value

(none)

[edit] Example

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant