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

Create a guard that installs the fuzz&hyphen;test assertion and precondition handlers&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
FuzzTestHandlerGuard();
----

== Description

Create a guard object, installing `FuzzTestPreconditionTracker&colon;&colon;handleAssertViolation`, `FuzzTestPreconditionTracker&colon;&colon;handleReviewViolation`, and the `BEGIN&sol;END` handler&period; The behavior is undefined if the current assertion handler is `FuzzTestPreconditionTracker&colon;&colon;handleAssertViolation` or the current review handler is `FuzzTestPreconditionTracker&colon;&colon;handleAssertViolation`&period;


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