[#BloombergLP-balst-StackTrace-resize] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::xref:BloombergLP/balst/StackTrace.adoc[StackTrace]::resize :relfileprefix: ../../../ :mrdocs: Add default constructed stack‐trace frames to, or remove stack‐trace frames from, the end of this stack‐trace object such that, after the operation, `length() == newLength`. Stack trace frames whose indices are in the range `0 <= index < min(length, newLength)` will be unchanged. The behavior is undefined unless `0 <= newLength`. == Synopsis Declared in `<balst_stacktrace.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void resize(int newLength); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#