BloombergLP::bsls::Assert::invokeHandlerNoReturn

Invoke the installed handler, aborting if it returns normally.

Synopsis

Declared in <bsls_assert.h>

[[noreturn]]
static
void
invokeHandlerNoReturn(AssertViolation const& violation);

Description

Invoke the currently installed assertion-failure handler function with the specified violation. If the handler returns normally, invoke bsls::Assert::failByAbort.

Return Value

NOTE

This function does not return.

Parameters

NameDescription
violationdetails of the failed assertion