[#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`&period;

== Synopsis

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

[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`&period; The currently installed default allocator is used to supply memory&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| stack whose value is copied
|===


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