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

Constructors

== Synopses

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

Create a `StackTraceFrame` object having the default attribute values&period;


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

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

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


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

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

Create a `StackTraceFrame` object with the specified attribute values&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balst/StackTraceFrame/2constructor-0f.adoc[StackTraceFrame](
    void const* address,
    std::string&lowbar;view const& libraryFileName,
    int lineNumber,
    std::string&lowbar;view const& mangledSymbolName,
    std::size&lowbar;t offsetFromSymbol,
    std::string&lowbar;view const& sourceFileName,
    std::string&lowbar;view const& symbolName,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| memory allocator&semi; null uses the default
| *original*
| object to copy
| *address*
| return address of the function call
| *libraryFileName*
| executable or shared&hyphen;library file name
| *lineNumber*
| source line number, or &hyphen;1 if unknown
| *mangledSymbolName*
| mangled name of the parent function
| *offsetFromSymbol*
| offset from the start of `symbolName`
| *sourceFileName*
| name of the source file
| *symbolName*
| unmangled name of the parent function
|===


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