STX  1.0.0
halt.h
Go to the documentation of this file.
1 
30 #pragma once
31 
32 #include "stx/panic.h"
33 
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 
Definition: report.h:304
void panic_halt(std::string_view const &info, ReportPayload const &payload, SourceLocation const &location) noexcept
Definition: halt.h:40
#define STX_END_NAMESPACE
Definition: config.h:329
Definition: source_location.h:48
#define STX_BEGIN_NAMESPACE
Definition: config.h:325