[#mp_units-terminate_policy]
= xref:mp_units.adoc[mp&lowbar;units]::terminate&lowbar;policy
:relfileprefix: ../
:mrdocs:

Error policy that terminates the program on constraint violation (freestanding&hyphen;safe)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct terminate&lowbar;policy;
----

== Static Member Functions

[cols=1]
|===
| Name
| xref:mp_units/terminate_policy/on_constraint_violation.adoc[`on&lowbar;constraint&lowbar;violation`] 
|===

== Derived Classes

[cols="1,4"]
|===
|Name|Description

| xref:mp_units/safe_int_terminate_policy.adoc[`safe&lowbar;int&lowbar;terminate&lowbar;policy`]
| Error policy that terminates the program on overflow (always available, freestanding&hyphen;safe)&period;
|===


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