[#BloombergLP-balst-StackTrace-2constructor-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::xref:BloombergLP/balst/StackTrace.adoc[StackTrace]::StackTrace :relfileprefix: ../../../ :mrdocs: Create an empty `StackTrace` object (having a length of 0). Optionally specify `basicAllocator` used to supply memory. If `basicAllocator` is 0, then an owned heap‐bypass allocator object is used. Note that the heap‐bypass allocator is used by default to avoid heap allocation in situations where the heap may have been corrupted. == Synopsis Declared in `<balst_stacktrace.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit StackTrace(xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#