[#bsl-queue-0a5-operator_assign-0e]
= xref:bsl.adoc[bsl]::xref:bsl/queue-0a5.adoc[queue]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assign to this queue by moving from the specified `rhs`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/queue-0a5.adoc[queue&lt;VALUE, CONTAINER&gt;]&
operator&equals;(xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef&lt;queue&gt;] rhs);
----

== Description

Assign to this queue the value as the specified `rhs` and return a reference providing modifiable access to this queue&period; The move&hyphen;assignment operator of `CONTAINER` is used to set the value of this queue&period; `rhs` is left in a valid but unspecified state, and if an exception is thrown, `&ast;this` is left in a valid but unspecified state&period;

== Return Value

reference providing modifiable access to this queue

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| queue to move&hyphen;assign from
|===


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