[#bsl-stack-05-operator_assign-04]
= xref:bsl.adoc[bsl]::xref:bsl/stack-05.adoc[stack]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assign to this object the value of the specified `rhs` object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/stack-05.adoc[stack&lt;VALUE, CONTAINER&gt;]&
operator&equals;(xref:bsl/stack-05.adoc[stack] const& rhs);
----

== Description

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

== Return Value

reference providing modifiable access to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| stack whose value is assigned to this object
|===


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