[#mp_units-safe_int_throw_policy] = xref:mp_units.adoc[mp_units]::safe_int_throw_policy :relfileprefix: ../ :mrdocs: Error policy that throws std::overflow_error on overflow (hosted only). == Synopsis Declared in `<mp‐units/safe_int.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct safe_int_throw_policy : xref:mp_units/throw_policy.adoc[throw_policy] ---- == Base Classes [cols="1,4"] |=== |Name|Description | `xref:mp_units/throw_policy.adoc[throw_policy]` | Error policy that throws std::domain_error on constraint violation (hosted only). |=== == Static Member Functions [cols=1] |=== | Name | xref:mp_units/throw_policy/on_constraint_violation.adoc[`on_constraint_violation`] | xref:mp_units/safe_int_throw_policy/on_overflow.adoc[`on_overflow`] |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#