STX
1.0.0
include
stx
panic
handlers
abort
abort.h
Go to the documentation of this file.
1
30
#pragma once
31
32
#include <cstdlib>
33
34
#include "
stx/panic.h
"
35
36
STX_BEGIN_NAMESPACE
37
39
[[noreturn]]
inline
void
panic_abort
(std::string_view
const
& info,
40
ReportPayload
const
& payload,
41
SourceLocation
const
& location) {
42
(void)info;
43
(void)payload;
44
(void)location;
45
46
std::abort();
47
}
48
49
STX_END_NAMESPACE
stx::ReportPayload
Definition:
report.h:304
stx::panic_abort
void panic_abort(std::string_view const &info, ReportPayload const &payload, SourceLocation const &location)
Causes the abort instruction to be executed.
Definition:
abort.h:39
STX_END_NAMESPACE
#define STX_END_NAMESPACE
Definition:
config.h:329
panic.h
stx::SourceLocation
Definition:
source_location.h:48
STX_BEGIN_NAMESPACE
#define STX_BEGIN_NAMESPACE
Definition:
config.h:325
Generated by
Doxygen
1.8.13