std::istringstream::swap (3) - Linux Manuals
std::istringstream::swap: std::basic_istringstream::swap
Command to display std::istringstream::swap
manual in Linux: $ man 3 std::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::istringstream::swap
- std::istringstream::operator= (3) - std::basic_istringstream::operator=
- std::istringstream::rdbuf (3) - std::basic_istringstream::rdbuf
- std::istringstream (3) - std::basic_istringstream
- std::istream (3) - std::basic_istream
- std::istream_iterator (3) - std::istream_iterator
- std::istream_iterator<T,CharT,Traits,Distance>::istream_iterator (3) - std::istream_iterator<T,CharT,Traits,Distance>::istream_iterator
- std::istream_iterator<T,CharT,Traits,Distance>::operator*,operator-> (3) - std::istream_iterator<T,CharT,Traits,Distance>::operator*,operator->
- std::istream_iterator<T,CharT,Traits,Distance>::operator++,operator++(int) (3) - std::istream_iterator<T,CharT,Traits,Distance>::operator++,operator++(int)
- std::istream_iterator<T,CharT,Traits,Distance>::~istream_iterator (3) - std::istream_iterator<T,CharT,Traits,Distance>::~istream_iterator
- std::istreambuf_iterator (3) - std::istreambuf_iterator
- std::istreambuf_iterator<CharT,Traits>::equal (3) - std::istreambuf_iterator<CharT,Traits>::equal
- std::istreambuf_iterator<CharT,Traits>::istreambuf_iterator (3) - std::istreambuf_iterator<CharT,Traits>::istreambuf_iterator
- std::istreambuf_iterator<CharT,Traits>::operator*,operator-> (3) - std::istreambuf_iterator<CharT,Traits>::operator*,operator->