std::basic_istringstream::swap (3) - Linux Manuals
std::basic_istringstream::swap: std::basic_istringstream::swap
Command to display std::basic_istringstream::swap
manual in Linux: $ man 3 std::basic_istringstream::swap
NAME
std::basic_istringstream::swap - std::basic_istringstream::swap
Synopsis
void swap( basic_istringstream& other ); (since C++11)
Exchanges the state of the stream with those of other.
This is done by callingbasic_istream<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_istringstream::swap
- std::basic_istringstream::operator= (3) - std::basic_istringstream::operator=
- std::basic_istringstream::rdbuf (3) - std::basic_istringstream::rdbuf
- std::basic_istringstream (3) - std::basic_istringstream
- std::basic_istringstream<CharT,Traits,Allocator>::basic_istringstream (3) - std::basic_istringstream<CharT,Traits,Allocator>::basic_istringstream
- std::basic_istringstream<CharT,Traits,Allocator>::str (3) - std::basic_istringstream<CharT,Traits,Allocator>::str
- std::basic_istream (3) - std::basic_istream
- std::basic_istream<CharT,Traits>::basic_istream (3) - std::basic_istream<CharT,Traits>::basic_istream
- std::basic_istream<CharT,Traits>::gcount (3) - std::basic_istream<CharT,Traits>::gcount
- std::basic_istream<CharT,Traits>::get (3) - std::basic_istream<CharT,Traits>::get
- std::basic_istream<CharT,Traits>::getline (3) - std::basic_istream<CharT,Traits>::getline
- std::basic_istream<CharT,Traits>::ignore (3) - std::basic_istream<CharT,Traits>::ignore
- std::basic_istream<CharT,Traits>::operator= (3) - std::basic_istream<CharT,Traits>::operator=
- std::basic_istream<CharT,Traits>::operator>> (3) - std::basic_istream<CharT,Traits>::operator>>
- std::basic_istream<CharT,Traits>::peek (3) - std::basic_istream<CharT,Traits>::peek
- std::basic_istream<CharT,Traits>::putback (3) - std::basic_istream<CharT,Traits>::putback
- std::basic_istream<CharT,Traits>::read (3) - std::basic_istream<CharT,Traits>::read
- std::basic_istream<CharT,Traits>::readsome (3) - std::basic_istream<CharT,Traits>::readsome
- std::basic_istream<CharT,Traits>::seekg (3) - std::basic_istream<CharT,Traits>::seekg
- std::basic_istream<CharT,Traits>::sentry (3) - std::basic_istream<CharT,Traits>::sentry