std::basic_streambuf<CharT,Traits>::swap
From cppreference.com
< cpp | io | basic streambuf
C++
Input/output library
I/O manipulators | ||||
C-style I/O | ||||
Buffers | ||||
(deprecated in C++98) | ||||
(C++20) | ||||
Streams | ||||
Abstractions | ||||
File I/O | ||||
String I/O | ||||
Array I/O | ||||
(deprecated in C++98) | ||||
(deprecated in C++98) | ||||
(deprecated in C++98) | ||||
Synchronized Output | ||||
(C++20) | ||||
Types | ||||
Error category interface | ||||
(C++11) | ||||
(C++11) |
std::basic_streambuf
Public member functions | ||||
Locales | ||||
Positioning | ||||
Get area | ||||
Put area | ||||
Putback | ||||
Protected member functions | ||||
(C++11) | ||||
basic_streambuf::swap (C++11) | ||||
Locales | ||||
Positioning | ||||
Get area | ||||
Put area | ||||
Putback | ||||
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
(none)
Example
This section is incomplete Reason: no example |