Constructors

Synopses

Declared in <balst_stacktrace.h>

Create an empty StackTrace object (having a length of 0). 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.

explicit
StackTrace(bslma::Allocator* basicAllocator = 0);

Create a StackTrace object having the same value as the specified original object. Optionally specify a 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.

StackTrace(
    StackTrace const& original,
    bslma::Allocator* basicAllocator = 0);

Created with MrDocs