[#bsl-queue-0a5-operator_assign-04] = xref:bsl.adoc[bsl]::xref:bsl/queue-0a5.adoc[queue]::operator= :relfileprefix: ../../ :mrdocs: Assignment operators == Synopses Declared in `<bslstl_queue.h>` Assign to this queue the value of the specified `rhs`, and return a reference providing modifiable access to this queue. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/queue-0a5.adoc[queue<VALUE, CONTAINER>]& xref:bsl/queue-0a5/operator_assign-0a.adoc[operator=](xref:bsl/queue-0a5.adoc[queue] const& rhs); ---- [.small]#xref:bsl/queue-0a5/operator_assign-0a.adoc[_» more..._]# Assign to this queue the value as the specified `rhs` and return a reference providing modifiable access to this queue. The move‐assignment operator of `CONTAINER` is used to set the value of this queue. `rhs` is left in a valid but unspecified state, and if an exception is thrown, `*this` is left in a valid but unspecified state. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/queue-0a5.adoc[queue<VALUE, CONTAINER>]& xref:bsl/queue-0a5/operator_assign-0e.adoc[operator=](xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<queue>] rhs); ---- [.small]#xref:bsl/queue-0a5/operator_assign-0e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#