Helper for Assert()/Assume().
Declared in <util/check.h>
template<
bool IS_ASSERT,
typename T>
constexpr
T&&
inline_assertion_check(
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 aborts when it is falsey and checking is active. |
| loc | The source location of the check. |
| assertion | The stringified checked expression. |