std::basic_stringstream::swap (3) - Linux Manuals
std::basic_stringstream::swap: std::basic_stringstream::swap
Command to display std::basic_stringstream::swap
manual in Linux: $ man 3 std::basic_stringstream::swap
NAME
std::basic_stringstream::swap - std::basic_stringstream::swap
Synopsis
void swap( basic_stringstream& other ); (since C++11)
Exchanges the state of the stream with those of other.
This is done by callingbasic_iostream<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::basic_stringstream::swap
- std::basic_stringstream::operator= (3) - std::basic_stringstream::operator=
- std::basic_stringstream::rdbuf (3) - std::basic_stringstream::rdbuf
- std::basic_stringstream (3) - std::basic_stringstream
- std::basic_stringstream<CharT,Traits,Allocator>::basic_stringstream (3) - std::basic_stringstream<CharT,Traits,Allocator>::basic_stringstream
- std::basic_stringstream<CharT,Traits,Allocator>::str (3) - std::basic_stringstream<CharT,Traits,Allocator>::str
- std::basic_string (3) - std::basic_string
- std::basic_string<CharT,Traits,Allocator>::append (3) - std::basic_string<CharT,Traits,Allocator>::append
- std::basic_string<CharT,Traits,Allocator>::assign (3) - std::basic_string<CharT,Traits,Allocator>::assign
- std::basic_string<CharT,Traits,Allocator>::at (3) - std::basic_string<CharT,Traits,Allocator>::at
- std::basic_string<CharT,Traits,Allocator>::back (3) - std::basic_string<CharT,Traits,Allocator>::back
- std::basic_string<CharT,Traits,Allocator>::basic_string (3) - std::basic_string<CharT,Traits,Allocator>::basic_string
- std::basic_string<CharT,Traits,Allocator>::begin, (3) - std::basic_string<CharT,Traits,Allocator>::begin,
- std::basic_string<CharT,Traits,Allocator>::begin,std::basic_string<CharT,Traits,Allocator>::cbegin (3) - std::basic_string<CharT,Traits,Allocator>::begin,std::basic_string<CharT,Traits,Allocator>::cbegin
- std::basic_string<CharT,Traits,Allocator>::c_str (3) - std::basic_string<CharT,Traits,Allocator>::c_str
- std::basic_string<CharT,Traits,Allocator>::capacity (3) - std::basic_string<CharT,Traits,Allocator>::capacity
- std::basic_string<CharT,Traits,Allocator>::clear (3) - std::basic_string<CharT,Traits,Allocator>::clear
- std::basic_string<CharT,Traits,Allocator>::compare (3) - std::basic_string<CharT,Traits,Allocator>::compare
- std::basic_string<CharT,Traits,Allocator>::copy (3) - std::basic_string<CharT,Traits,Allocator>::copy
- std::basic_string<CharT,Traits,Allocator>::data (3) - std::basic_string<CharT,Traits,Allocator>::data
- std::basic_string<CharT,Traits,Allocator>::empty (3) - std::basic_string<CharT,Traits,Allocator>::empty
- std::basic_string<CharT,Traits,Allocator>::end, (3) - std::basic_string<CharT,Traits,Allocator>::end,