[#BloombergLP-balst-StackTraceTestAllocator-setName] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::xref:BloombergLP/balst/StackTraceTestAllocator.adoc[StackTraceTestAllocator]::setName :relfileprefix: ../../../ :mrdocs: Set the name of this allocator to the specified `name`. == Synopsis Declared in `<balst_stacktracetestallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setName(char const* name); ---- == Description If `setName` is never called, the name of the allocator is "<unnamed>". Note that the lifetime of `name` must exceed the lifetime of this object. == Parameters [cols="1,4"] |=== | Name| Description | *name* | null‐terminated allocator name; must outlive this object |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#