Subscript operators
Synopses
Declared in <balst_stacktrace.h>
Return a reference providing modifiable access to the stack‐trace frame at the specified index. The behavior is undefined unless 0 <= index < length().
StackTraceFrame&
operator[](int index);
Return a reference providing non‐modifiable access to the stack‐trace frame at the specified index. The behavior is undefined unless 0 <= index < length().
StackTraceFrame const&
operator[](int index) const;
Return Value
-
reference providing modifiable access to the frame at
index -
reference providing non‐modifiable access to the frame at
index
Parameters
Name |
Description |
index |
zero‐based index of the stack‐trace frame |
Created with MrDocs