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

Constructors

== Synopses

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

Create a copy of the specified `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:BloombergLP/balst/StackTracePrinter/2constructor-0a.adoc[StackTracePrinter](xref:BloombergLP/balst/StackTracePrinter.adoc[StackTracePrinter] const& original) = default;
----

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

Create a `StackTracePrinter` that renders the current call stack when streamed&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/balst/StackTracePrinter/2constructor-03.adoc[StackTracePrinter](
    int maxFrames = &hyphen;1,
    bool demanglingPreferredFlag = true,
    int additionalIgnoreFrames = 0);
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| object to copy
| *maxFrames*
| maximum number of stack frames to display
| *demanglingPreferredFlag*
| whether to prefer demangled symbols
| *additionalIgnoreFrames*
| extra top frames to omit from the trace
|===


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