std::swap(std::basic_ostringstream) - cppreference.com (original) (raw)
Overloads the std::swap algorithm for std::basic_ostringstream. Exchanges the state of lhs with that of rhs. Effectively calls lhs.swap(rhs).
[edit] Parameters
lhs, rhs | - | streams whose state to swap |
---|
[edit] Return value
(none)
[edit] Exceptions
May throw implementation-defined exceptions.
[edit] Example
[edit] See also
| | swaps two string streams (public member function) [edit] | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |