STX  1.0.0
List of all members
stx::backtrace::Symbol Struct Reference

#include <backtrace.h>

Detailed Description

Symbol contains references to buffers and as such should not be copied nor moved as a reference. Its raw data content can also be copied as a std::string.

Constructor & Destructor Documentation

◆ Symbol()

stx::backtrace::Symbol::Symbol ( CharSpan  sym)
inlineexplicitnoexcept

construct the Symbol object from the raw undemangled symbol name requires that sym's data member is not a nullptr and is null-terminated.

UNCHECKED!

Member Function Documentation

◆ raw()

auto stx::backtrace::Symbol::raw ( ) const -> std::string_view
noexcept

gets the raw symbol name, the symbol is pre-demangled if possible.


The documentation for this struct was generated from the following file: