STX
1.0.0
include
stx
panic
handlers
halt
halt.h
Go to the documentation of this file.
1
30
#pragma once
31
32
#include "
stx/panic.h
"
33
34
STX_BEGIN_NAMESPACE
35
40
inline
void
panic_halt
(std::string_view
const
& info,
41
ReportPayload
const
& payload,
42
SourceLocation
const
& location) noexcept {
43
(void)info;
44
(void)payload;
45
(void)location;
46
47
volatile
bool
const
halt =
true
;
48
while
(halt) {
49
}
50
}
51
52
STX_END_NAMESPACE
stx::ReportPayload
Definition:
report.h:304
stx::panic_halt
void panic_halt(std::string_view const &info, ReportPayload const &payload, SourceLocation const &location) noexcept
Definition:
halt.h:40
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