This value‐semantic class describes a function‐call stack, represented as a sequence of randomly accessible StackTraceFrame objects, each of which represents one function call on the stack. Note that if no allocator is supplied at construction, an owned bdlma::HeapBypassAllocator object is used to supply memory.
Synopsis
Declared in <balst_stacktrace.h>
class StackTrace;
Member Functions
Name |
Description |
|
Constructors |
Assign to this object the value of the specified |
|
Return the allocator used by this object to supply memory. Note that if no allocator was supplied at construction the owned heap‐bypass allocator is used. |
|
Append to this sequence the specified |
|
Return the number of stack‐trace frames contained in this object. |
|
Subscript operators |
|
Write the value of this object to the specified output |
|
Remove all stack‐trace frames from this object. After this operation, the |
|
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, |
|
Efficiently exchange the value of this object with the value of the specified |
|
|
Nested trait declaration for |
Friends
Name |
Description |
Return |
Non-Member Functions
Name |
Description |
Return |
|
Exchange the values of the specified |
Created with MrDocs