Create an empty StackTrace object (having a length of 0).
Synopsis
Declared in <balst_stacktrace.h>
explicit
StackTrace(bslma::Allocator* basicAllocator = 0);
Description
Optionally specify basicAllocator used to supply memory. If basicAllocator is 0, then an owned heap‐bypass allocator object is used. Note that the heap‐bypass allocator is used by default to avoid heap allocation in situations where the heap may have been corrupted.
Parameters
Name |
Description |
basicAllocator |
memory allocator; null uses heap‐bypass |
Created with MrDocs