[#bsl-basic_osyncstream-operator_assign]
= xref:bsl.adoc[bsl]::xref:bsl/basic_osyncstream.adoc[basic&lowbar;osyncstream]::operator&equals;
:relfileprefix: ../../
:mrdocs:

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

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_osyncstream.adoc[basic&lowbar;osyncstream]&
operator&equals;(xref:bsl/basic_osyncstream.adoc[basic&lowbar;osyncstream]&& original) = default;
----

== Description

Transfer the associated output to the wrapped stream buffer then assign to this object the value of the specified `original`, and return a reference providing modifiable access to this object&period; The contents of `original` are move&hyphen;assigned to this object&period; `original&period;get&lowbar;wrapped() &equals;&equals; nullptr` after the call&period;

== Return Value

reference providing modifiable access to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| object from which to move&hyphen;assign
|===


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