Abort after logging a diagnostic message built from text.
Synopsis
Declared in <bslmt_timedcompletionguard.h>
[[noreturn]]
static
void
failByAbort(char const* text);
Description
(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.
Return Value
|
Note
|
This function does not return. |
Parameters
Name |
Description |
text |
diagnostic text used in the abort message |
Created with MrDocs