Abort after logging a message for the specified review violation.

Synopsis

Declared in <bsls_review.h>

[[noreturn]]
static
void
failByAbort(ReviewViolation const& violation);

Description

Emulate the invocation of the standard assert macro with a false argument, using the specified violation to generate an output message and then, after logging, unconditionally abort.

Return Value

Note

This function does not return.

Parameters

Name

Description

violation

details of the failed review

Created with MrDocs