[#BloombergLP-balst-StackTraceTestAllocator-setDemanglingPreferredFlag]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::xref:BloombergLP/balst/StackTraceTestAllocator.adoc[StackTraceTestAllocator]::setDemanglingPreferredFlag
:relfileprefix: ../../../
:mrdocs:

Set whether demangling of symbols is preferred in diagnostics&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setDemanglingPreferredFlag(bool value);
----

== Description

Set the `demanglingPreferredFlag` attribute, which is used to determine whether demangling of symbols is to be attempted when generating diagnostics, to the specified `value`&period; The default value of the flag is `true`&period; However the flag is ignored on some platforms&semi; demangling never happens on some platforms and always happens on others&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| whether demangling is preferred
|===


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