mp_units::utility::safe_int_throw_policy::on_overflow

Throws std::overflow_error; called by safe_int on overflow.

Synopsis

Declared in <mp-units/utility/safe_int.h>

[[noreturn]]
static
void
on_overflow(std::string_view msg);

Return Value

NOTE

This function does not return.

Parameters

NameDescription
msgdescription of the overflow condition