[#bsl-stack-05-2constructor-0e6]
= xref:bsl.adoc[bsl]::xref:bsl/stack-05.adoc[stack]::stack
:relfileprefix: ../../
:mrdocs:

Create an empty stack&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
stack();
----

== Description

Create an empty stack&period; No allocator will be provided to the underlying container&period; That container&apos;s memory allocation will be provided by the default allocator of its type&period;


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