#include <report.h>
ReportPayload holds a reference to the report's data and is used accross ABI-boundaries by panic handlers, as FixedReport can vary accross configurations. ReportPayload is essentially a type-erased view of FixedReport and SpanReport (as in std::span).
ReportPayload is the type of the second argument to panic_handler.
◆ ReportPayload() [1/4]
| constexpr stx::ReportPayload::ReportPayload |
( |
FixedReport const & |
report | ) |
|
|
inlineexplicitnoexcept |
◆ ReportPayload() [2/4]
| constexpr stx::ReportPayload::ReportPayload |
( |
SpanReport const & |
report | ) |
|
|
inlineexplicitnoexcept |
◆ ReportPayload() [3/4]
| constexpr stx::ReportPayload::ReportPayload |
( |
ReportPayload const & |
| ) |
|
|
defaultnoexcept |
◆ ReportPayload() [4/4]
◆ ~ReportPayload()
| stx::ReportPayload::~ReportPayload |
( |
| ) |
|
|
defaultnoexcept |
◆ data()
| constexpr std::string_view const& stx::ReportPayload::data |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: