[#mp_units-constraint_violation_handler-04]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/constraint_violation_handler-0c.adoc[constraint&lowbar;violation&lowbar;handler]&lt;xref:mp_units/constrained.adoc[constrained&lt;T, ErrorPolicy&gt;]&gt;
:relfileprefix: ../
:mrdocs:

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;constrained&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename T,
    typename ErrorPolicy&gt;
struct xref:mp_units/constraint_violation_handler-0c.adoc[constraint&lowbar;violation&lowbar;handler]&lt;xref:mp_units/constrained.adoc[constrained&lt;T, ErrorPolicy&gt;]&gt;;
----

== Static Member Functions

[cols="1"]
|===
| Name
| xref:mp_units/constraint_violation_handler-04/on_violation.adoc[`on&lowbar;violation`] 
|===



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