[#BloombergLP-bsls-AssertFailureHandlerGuard-2constructor-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AssertFailureHandlerGuard.adoc[AssertFailureHandlerGuard]::AssertFailureHandlerGuard
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bsls&lowbar;assert&period;h&gt;`

Same as the preceding overload, for legacy `Assert&colon;&colon;Handler`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bsls/AssertFailureHandlerGuard/2constructor-0e.adoc[AssertFailureHandlerGuard](xref:BloombergLP/bsls/Assert/Handler.adoc[Assert::Handler] temporary);
----

[.small]#xref:BloombergLP/bsls/AssertFailureHandlerGuard/2constructor-0e.adoc[_» more&period;&period;&period;_]#

Create a guard object that installs the specified `temporary` failure handler and automatically restores the original handler on destruction&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bsls/AssertFailureHandlerGuard/2constructor-082.adoc[AssertFailureHandlerGuard](xref:BloombergLP/bsls/Assert/ViolationHandler-03.adoc[Assert::ViolationHandler] temporary);
----

[.small]#xref:BloombergLP/bsls/AssertFailureHandlerGuard/2constructor-082.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *temporary*
| temporary legacy assertion&hyphen;failure handler to install
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
