[#bsl-deque-0c-operator_assign-05f]
= xref:bsl.adoc[bsl]::xref:bsl/deque-0c.adoc[deque]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assignment operators

== Synopses

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

Copy&hyphen;assign from the specified `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/deque-0c.adoc[deque&lt;VALUE&lowbar;TYPE, ALLOCATOR&gt;]&
xref:bsl/deque-0c/operator_assign-059.adoc[operator&equals;](xref:bsl/deque-0c.adoc[deque] const& rhs);
----

[.small]#xref:bsl/deque-0c/operator_assign-059.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/deque-0c.adoc[deque&lt;VALUE&lowbar;TYPE, ALLOCATOR&gt;]&
xref:bsl/deque-0c/operator_assign-06.adoc[operator&equals;](xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef&lt;deque&gt;] rhs) noexcept(AllocatorTraits&colon;&colon;is&lowbar;always&lowbar;equal&colon;&colon;value);
----

[.small]#xref:bsl/deque-0c/operator_assign-06.adoc[_» more&period;&period;&period;_]#

Assign the elements of `values` to this deque&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/deque-0c.adoc[deque&lt;VALUE&lowbar;TYPE, ALLOCATOR&gt;]&
xref:bsl/deque-0c/operator_assign-0d.adoc[operator&equals;](std::initializer&lowbar;list&lt;value&lowbar;type&gt; values);
----

[.small]#xref:bsl/deque-0c/operator_assign-0d.adoc[_» more&period;&period;&period;_]#

== Return Value

modifiable reference to this deque

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| deque to copy&hyphen;assign from
| *values*
| initializer list of elements to assign
|===


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