Helper for CHECK_NONFATAL().
Declared in <util/check.h>
template<typename T>
T&&
inline_check_non_fatal(
T&& val,
std::source_location const& loc,
std::string_view assertion);
The forwarded value when the check passes.
| Name | Description |
|---|---|
| val | The value to check; the call throws when it is falsey. |
| loc | The source location of the check. |
| assertion | The stringified checked expression. |