Error policy that terminates the program on overflow (always available, freestanding-safe).
Declared in <mp-units/utility/safe_int.h>
struct safe_int_terminate_policy
: terminate_policy
| Name | Description |
|---|---|
terminate_policy | Error policy that terminates the program on constraint violation (freestanding-safe). |
| Name | Description |
|---|---|
on_constraint_violation [noreturn] | Reports a constraint violation by terminating the program. |
on_overflow [noreturn] | Terminates the program by aborting; called by safe_int on overflow. |