Create a guard object that installs the specified temporary failure handler and automatically restores the original handler on destruction.

Synopsis

Declared in <bsls_assert.h>

explicit
AssertFailureHandlerGuard(Assert::ViolationHandler temporary);

Parameters

Name

Description

temporary

temporary assertion‐failure handler to install

Created with MrDocs