Lely core libraries 2.3.4
exception.cpp
Go to the documentation of this file.
1
24// NOLINTNEXTLINE(build/include)
25#include "util.h"
26
27#if !LELY_NO_CXX
28
30
31#include <cstdlib>
32
33extern "C" {
34
35_Noreturn void
36__throw_or_abort(const char* what) noexcept {
37 (void)what;
38
39 ::std::abort();
40}
41}
42
43#endif
_Noreturn void __throw_or_abort(const char *what) noexcept
Aborts the process instead of throwing an exception.
Definition exception.cpp:36
This header file is part of the utilities library; it contains the C++ exception declarations.
#define _Noreturn
A function declared with a _Noreturn function specifier SHALL not return to its caller.
Definition features.h:224
This is the internal header file of the utilities library.