mp_units::utility::detail::sub_overflows

Synopsis

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

template</* implementation-defined */ T>
[[nodiscard]]
constexpr
bool
sub_overflows(
    T lhs,
    T rhs) noexcept;

Return Value

NOTE

The return value should not be discarded.