[#bsl-basic_ostringstream-swap-01]
= xref:bsl.adoc[bsl]::xref:bsl/basic_ostringstream.adoc[basic&lowbar;ostringstream]::swap
:relfileprefix: ../../
:mrdocs:

Exchange this stream with another `basic&lowbar;ostream`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
swap(xref:bsl/basic_ostringstream.adoc[BaseStream]& other);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| stream with which to exchange values
|===


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