[#bsl-stack-05-2constructor-04e] = xref:bsl.adoc[bsl]::xref:bsl/stack-05.adoc[stack]::stack :relfileprefix: ../../ :mrdocs: Create a stack having the value of the specified `original` by moving the contents of `original` to the new stack. The allocator associated with `original` is propagated for use in the new stack. `original` is left in a valid but unspecified state. == Synopsis Declared in `<bslstl_stack.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- stack(xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<stack>] original); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#