Abort after logging a diagnostic message built from text.
Declared in <bslmt_timedcompletionguard.h>
[[noreturn]]
static
void
failByAbort(char const* text);
(Default Handler) Emulate the invocation of the standard assert macro with a false argument, using the expression text to generate a helpful output message and then, after logging, unconditionally aborting. Note that this handler function is the default installed assertion handler.
This function does not return.
| Name | Description |
|---|---|
| text | diagnostic text used in the abort message |