BloombergLP::bsls::Assert::setViolationHandler

Install the specified violation handler as the current assert handler.

Synopsis

Declared in <bsls_assert.h>

static
void
setViolationHandler(Assert::ViolationHandler function);

Description

Make the specified violation handler function the current assertion-failure handler. This method has no effect if the lockAssertAdministration method has been called.

Parameters

NameDescription
functionviolation handler to install