[#BloombergLP-bsls-Review-ViolationHandler-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Review.adoc[Review]::ViolationHandler
:relfileprefix: ../../../
:mrdocs:

`ViolationHandler` is an alias for a pointer to a function returning `void`, and taking, as a parameter, a `const` reference to a `ReviewViolation` instance&period; For example&colon; &grave; void myHandler(const ReviewViolation&amp; violation)&semi; &grave;

== Synopsis

Declared in `&lt;bsls&lowbar;review&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef void(* ViolationHandler)(xref:BloombergLP/bsls/ReviewViolation.adoc[ReviewViolation] const&);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
