BloombergLP::bsls::Assert::ViolationHandler

Alias for a pointer to an assertion-failure handler taking a violation.

Synopsis

Declared in <bsls_assert.h>

typedef void(* ViolationHandler)(AssertViolation const&);

Description

ViolationHandler is an alias for a pointer to a function returning void, and taking, as a parameter a single const reference to a bsls::AssertViolation -- e.g., ` void myHandler(const bsls::AssertViolation&); `