Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/io/basic syncbuf/swap"

From cppreference.com
< cpp‎ | io‎ | basic syncbuf
m (LWG 3498)
m (langlinks)
 
Line 23: Line 23:
 
}}
 
}}
  
{{langlinks|ja|zh}}
+
{{langlinks|ja|zh}}

Latest revision as of 08:15, 10 October 2022

 
 
 
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