14[[noreturn]]
void NOT_REACHED(
const std::source_location location)
16 FatalError(
"NOT_REACHED triggered at line {} of {}", location.line(), location.file_name());
19[[noreturn]]
void AssertFailedError(std::string_view expression,
const std::source_location location)
21 FatalError(
"Assertion failed at line {} of {}: {}", location.line(), location.file_name(), expression);
Error reporting related functions.
A number of safeguards to prevent using unsafe methods.
Definition of base types and functions in a cross-platform compatible way.