Error policy that throws std::overflow_error on overflow (hosted only).
| Name | Description |
|---|---|
throw_policy | Error policy that throws std::domain_error on constraint violation (hosted only). |
| Name | Description |
|---|---|
on_constraint_violation [noreturn] | Reports a constraint violation by throwing std::domain_error. |
on_overflow [noreturn] | Throws std::overflow_error; called by safe_int on overflow. |