[#bsl-basic_ostringstream-operator_assign] = xref:bsl.adoc[bsl]::xref:bsl/basic_ostringstream.adoc[basic_ostringstream]::operator= :relfileprefix: ../../ :mrdocs: Assign to this object the value of the specified `rhs`, and return a reference providing modifiable access to this object. The contents of `rhs` are move‐assigned to this object. `rhs` is left in a valid but unspecified state. == Synopsis Declared in `<bslstl_ostringstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_ostringstream.adoc[basic_ostringstream]& operator=(xref:bsl/basic_ostringstream.adoc[basic_ostringstream]&& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#