[#BloombergLP-balst-StackTrace-2constructor-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::xref:BloombergLP/balst/StackTrace.adoc[StackTrace]::StackTrace
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;balst&lowbar;stacktrace&period;h&gt;`

Create an empty `StackTrace` object (having a length of 0)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/balst/StackTrace/2constructor-0d.adoc[StackTrace](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/balst/StackTrace/2constructor-0d.adoc[_» more&period;&period;&period;_]#

Create a `StackTrace` object having the same value as the specified `original` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balst/StackTrace/2constructor-09.adoc[StackTrace](
    xref:BloombergLP/balst/StackTrace.adoc[StackTrace] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/balst/StackTrace/2constructor-09.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| memory allocator&semi; null uses heap&hyphen;bypass
| *original*
| object to copy
|===


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