BloombergLP::bsls::Assert::failAbort

DEPRECATED: Use failByAbort instead.

Synopsis

Declared in <bsls_assert.h>

[[noreturn]]
static
void
failAbort(
    char const* comment,
    char const* file,
    int line);

Description

Emulate the invocation of the standard assert macro with a false argument, using the specified expression comment, file name, and line number to generate a helpful output message and then, after logging, unconditionally aborting.

Return Value

NOTE

This function does not return.

Parameters

NameDescription
commentexpression text of the failed assertion
filesource file name where the assertion failed
linesource line number where the assertion failed