[#bsl-priority_queue-034-operator_assign-03]
= xref:bsl.adoc[bsl]::xref:bsl/priority_queue-034.adoc[priority&lowbar;queue]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assign to this object the value and comparator of the specified `rhs` object and return a reference providing modifiable access to this object&period; `rhs` is left in a valid but unspecified state&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/priority_queue-034.adoc[priority&lowbar;queue&lt;VALUE, CONTAINER, COMPARATOR&gt;]&
operator&equals;(xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef&lt;priority&lowbar;queue&gt;] rhs) noexcept(false);
----


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