std::wostringstream::swap (3) - Linux Manuals
std::wostringstream::swap: std::basic_ostringstream::swap
Command to display std::wostringstream::swap
manual in Linux: $ man 3 std::wostringstream::swap
NAME
std::basic_ostringstream::swap - std::basic_ostringstream::swap
Synopsis
void swap( basic_ostringstream& other ); (since C++11)
Exchanges the state of the stream with those of other.
This is done by callingbasic_ostream<CharT, Traits>::swap(other) and rdbuf()->swap(*other.rdbuf()).
Parameters
other - stream to exchange the state with
Return value
(none)
Example
This section is incomplete
Reason: no example
See also
operator= moves the string stream
(public member function)
(C++11)
swap swaps two basic_stringbuf objects
(public member function of std::basic_stringbuf<CharT,Traits,Allocator>)
(C++11)
Pages related to std::wostringstream::swap
- std::wostringstream::operator= (3) - std::basic_ostringstream::operator=
- std::wostringstream::rdbuf (3) - std::basic_ostringstream::rdbuf
- std::wostringstream (3) - std::basic_ostringstream
- std::wostream (3) - std::basic_ostream
- std::wofstream (3) - std::basic_ofstream
- std::wbuffer_convert (3) - std::wbuffer_convert
- std::wbuffer_convert<Codecvt,Elem,Tr>::rdbuf (3) - std::wbuffer_convert<Codecvt,Elem,Tr>::rdbuf
- std::wbuffer_convert<Codecvt,Elem,Tr>::state (3) - std::wbuffer_convert<Codecvt,Elem,Tr>::state
- std::wbuffer_convert<Codecvt,Elem,Tr>::wbuffer_convert (3) - std::wbuffer_convert<Codecvt,Elem,Tr>::wbuffer_convert
- std::wbuffer_convert<Codecvt,Elem,Tr>::~wbuffer_convert (3) - std::wbuffer_convert<Codecvt,Elem,Tr>::~wbuffer_convert