mp_units::safe_int_terminate_policy

Error policy that terminates the program on overflow (always available, freestanding-safe).

Synopsis

Declared in <mp-units/safe_int.h>
struct safe_int_terminate_policy
    : terminate_policy

Base Classes

Name Description
terminate_policyError policy that terminates the program on constraint violation (freestanding-safe).

Static Member Functions

Name
on_constraint_violation
on_overflow