BloombergLP::bslmt::TimedCompletionGuard::failByAbort

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

NameDescription
textdiagnostic text used in the abort message