std::basic_stringbuf<CharT,Traits,Allocator>::swap
From cppreference.com
< cpp | io | basic stringbuf
void swap( basic_stringbuf& rhs ); |
(since C++11) (until C++20) |
|
void swap( basic_stringbuf& rhs ) noexcept(/* see below */); |
(since C++20) | |
Swaps the state and the contents of *this and rhs.
The behavior is undefined if |
(since C++11) |
Contents |