[#bsl-basic_ostringstream-operator_assign-0e5]
= xref:bsl.adoc[bsl]::xref:bsl/basic_ostringstream.adoc[basic&lowbar;ostringstream]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assignment operators

== Synopses

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

Move&hyphen;assign from the specified `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[basic&lowbar;ostringstream]&
xref:bsl/basic_ostringstream/operator_assign-0eb.adoc[operator&equals;](xref:bsl/basic_ostringstream.adoc[basic&lowbar;ostringstream]&& rhs);
----

[.small]#xref:bsl/basic_ostringstream/operator_assign-0eb.adoc[_» more&period;&period;&period;_]#

Copy&hyphen;assignment from a base `basic&lowbar;ostream` is not supported&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_assign-02.adoc[operator&equals;](xref:bsl/basic_ostringstream.adoc[BaseStream] const& other) = delete;
----

[.small]#xref:bsl/basic_ostringstream/operator_assign-02.adoc[_» more&period;&period;&period;_]#

Move&hyphen;assign from a base `basic&lowbar;ostream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_assign-09.adoc[operator&equals;](xref:bsl/basic_ostringstream.adoc[BaseStream]&& rhs);
----

[.small]#xref:bsl/basic_ostringstream/operator_assign-09.adoc[_» more&period;&period;&period;_]#

== Return Value

* reference providing modifiable access to this object
* a reference to this stream

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| object from which to move&hyphen;assign
| *other*
| unused source stream
|===


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