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

Name

Description

function

violation handler to install

Created with MrDocs