Files
cppdraft_translate/cppdraft/stacktrace/general.md
2025-10-25 03:02:53 +03:00

1.4 KiB

[stacktrace.general]

19 Diagnostics library [diagnostics]

19.6 Stacktrace [stacktrace]

19.6.1 General [stacktrace.general]

1

#

Subclause [stacktrace] describes components that C++ programs may use to store the stacktrace of the current thread of execution and query information about the stored stacktrace at runtime.

2

#

The invocation sequence of the current evaluation x0 in the current thread of execution is a sequence (x0,…,xn) of evaluations such that, for i ≥ 0,xi is within the function invocation xi+1 ([intro.execution]).

3

#

A stacktrace is an approximate representation of an invocation sequence and consists of stacktrace entries.

A stacktrace entry represents an evaluation in a stacktrace.