Resize this stack‐trace so that length() == newLength.

Synopsis

Declared in <balst_stacktrace.h>

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

Name

Description

newLength

new number of stack‐trace frames

Created with MrDocs