Install the specified violation handler as the current assert handler.
Declared in <bsls_assert.h>
static
void
setViolationHandler(Assert::ViolationHandler function);
Make the specified violation handler function the current assertion-failure handler. This method has no effect if the lockAssertAdministration method has been called.
| Name | Description |
|---|---|
| function | violation handler to install |