BloombergLP::bsls::ReviewFailureHandlerGuard::ReviewFailureHandlerGuard

Create a guard object for a temporary review failure handler.

Synopsis

Declared in <bsls_review.h>

explicit
ReviewFailureHandlerGuard(Review::ViolationHandler temporary);

Description

Install the specified temporary review failure handler and automatically restore the original handler on destruction.

Parameters

NameDescription
temporarythe review failure handler to install