Everett
Loading...
Searching...
No Matches
include
everett
error_detail.h
Go to the documentation of this file.
1
13
#pragma once
14
15
#include <stdexcept>
16
#include <simd/attributes.h>
17
18
namespace
everett::error_detail
{
19
// Keep construction and unwinding for a failed check out of its hot caller.
20
// E and the supplied message retain the call site's exception contract.
21
template
<
class
E> [[noreturn]]
22
simd_cold simd_noinline
inline
void
raise
(
char
const
* message) {
throw
E(message); }
23
}
everett::error_detail
Definition
error_detail.h:18
everett::error_detail::raise
void raise(char const *message)
Definition
error_detail.h:22
Generated by
1.9.8