[#bsl-stack-05-operator_assign-04] = xref:bsl.adoc[bsl]::xref:bsl/stack-05.adoc[stack]::operator= :relfileprefix: ../../ :mrdocs: Assign to this object the value of the specified `rhs` object. == Synopsis Declared in `<bslstl_stack.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/stack-05.adoc[stack<VALUE, CONTAINER>]& operator=(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. == 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]#