BloombergLP::bsls::AssertFailureHandlerGuard::AssertFailureHandlerGuard

Constructors

Synopses

Declared in <bsls_assert.h>

Same as the preceding overload, for legacy Assert::Handler.

explicit
AssertFailureHandlerGuard(Assert::Handler temporary);
» more...

Create a guard object that installs the specified temporary failure handler and automatically restores the original handler on destruction.

explicit
AssertFailureHandlerGuard(Assert::ViolationHandler temporary);
» more...