[#bsl-basic_stringstream-swap-06]
= xref:bsl.adoc[bsl]::xref:bsl/basic_stringstream.adoc[basic&lowbar;stringstream]::swap
:relfileprefix: ../../
:mrdocs:

Exchange this stream with another `basic&lowbar;iostream` (inherited)&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;stringstream&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
using BaseStream::swap;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
