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

Assignment operators

== Synopses

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

Assign to this object the value and comparator of the specified `rhs` object and return a reference providing modifiable access to this object&period;


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

[.small]#xref:bsl/priority_queue-034/operator_assign-0f.adoc[_» more&period;&period;&period;_]#

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;


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

[.small]#xref:bsl/priority_queue-034/operator_assign-03.adoc[_» more&period;&period;&period;_]#


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