[#bsl-basic_ostringstream-swap-01] = xref:bsl.adoc[bsl]::xref:bsl/basic_ostringstream.adoc[basic_ostringstream]::swap :relfileprefix: ../../ :mrdocs: Exchange this stream with another `basic_ostream`. == Synopsis Declared in `<bslstl_ostringstream.h>` [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]#