[#BloombergLP-bsls-AssertFailureHandlerGuard-2constructor-082] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AssertFailureHandlerGuard.adoc[AssertFailureHandlerGuard]::AssertFailureHandlerGuard :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit AssertFailureHandlerGuard(xref:BloombergLP/bsls/Assert/ViolationHandler-03.adoc[Assert::ViolationHandler] temporary); ---- == Parameters [cols="1,4"] |=== | Name| Description | *temporary* | temporary assertion‐failure handler to install |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#