describe_stack_trace
std::size_t describe_stack_trace(const StackTrace &trace, char *destination, std::size_t capacity) noexceptParameters
| Name | Type |
|---|---|
trace | const StackTrace & |
destination | char * |
capacity | std::size_t |
Returns
std::size_t
The characters written; the symbol part appears only where the platform resolves.
Description
Writes one line per frame, "#N module+0xOFFSET [symbol file:line]", into destination; writes a fixed "stack trace unavailable" line instead of nothing when trace has no frames.

