Return whether returning from an assertion‐failure handler must abort.

Synopsis

Declared in <bsls_assert.h>

static
bool
abortUponReturningAssertionFailureHandler();

Description

Return true if k_permitOutOfPolicyReturningAssertionBuildKey does not have the value "bsls‐PermitOutOfPolicyReturn" or permitOutOfPolicyReturningFailureHandler has not previously been invoked, and false otherwise. Note that returning true indicates that bsls::Assert should abort the task if the currently installed assertion‐failure handler returns normally (after the detection of a failed assertion).

Return Value

true if returning from the handler must abort, else false

Created with MrDocs