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

From cppreference.com
< cpp‎ | io‎ | basic syncbuf
 
 
 
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.

Parameters

other - sync stream buffer to exchange contents with

Return value

(none)

Example