std::basic_streambuf<CharT,Traits>::swap
From cppreference.com
< cpp | io | basic streambuf
C++
Input/output library
I/O manipulators | ||||
Print functions (C++23) | ||||
C-style I/O | ||||
Buffers | ||||
(C++23)
|
||||
(C++98/26*)
|
||||
(C++20)
|
||||
Streams | ||||
Abstractions | ||||
File I/O | ||||
String I/O | ||||
Array I/O | ||||
(C++23)
|
||||
(C++23)
|
||||
(C++23)
|
||||
(C++98/26*)
|
||||
(C++98/26*)
|
||||
(C++98/26*)
|
||||
Synchronized Output | ||||
(C++20)
|
||||
Types | ||||
Error category interface | ||||
(C++11)
|
||||
(C++11)
|
std::basic_streambuf
|
|
void swap( basic_streambuf& other ); |
(since C++11) | |
Exchanges the contents of the stream buffer with those of other
.
Parameters
other | - | stream buffer to exchange contents with |
Return value
(none)
Exceptions
May throw implementation-defined exceptions.
Example
This section is incomplete Reason: no example |