[#BloombergLP-balst-StackTrace-resize] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::xref:BloombergLP/balst/StackTrace.adoc[StackTrace]::resize :relfileprefix: ../../../ :mrdocs: Resize this stack‐trace so that `length() == newLength`. == Synopsis Declared in `<balst_stacktrace.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void resize(int newLength); ---- == Description 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`. == Parameters [cols="1,4"] |=== | Name| Description | *newLength* | new number of stack‐trace frames |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#