[#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, and return a reference providing modifiable access to this 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); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#