[#bsl-stack-05-2constructor-01d] = xref:bsl.adoc[bsl]::xref:bsl/stack-05.adoc[stack]::stack :relfileprefix: ../../ :mrdocs: Create a stack having the value of the specified `original`. == Synopsis Declared in `<bslstl_stack.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- stack(xref:bsl/stack-05.adoc[stack] const& original); ---- == Description Create a stack having the value of the specified `original`. The currently installed default allocator is used to supply memory. == Parameters [cols="1,4"] |=== | Name| Description | *original* | stack whose value is copied |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#