An intrusive stack of captured stack traces.

Synopsis

Declared in <folly/debugging/exception_tracer/StackTrace.h>

class StackTraceStack;

Member Functions

Name

Description

StackTraceStack [constructor]

Constructors

operator= [deleted]

Deleted copy assignment; the stack is non‐copyable.

clear

Clear the stack.

empty

Is the stack empty?

moveTopFrom

Move the top stack trace from other onto this.

next

Return the stack trace following p, or nullptr if p is the bottom of the stack.

pop

Pop the top stack trace from the stack.

pushCurrent

Push the current stack trace onto the stack.

top

Return the top stack trace, or nullptr if the stack is empty.

Created with MrDocs