[#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); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#