mp_units::utility::safe_int::operator+

Returns a copy of the wrapped value, promoted as +value_ would promote T.

Synopsis

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

[[nodiscard]]
constexpr
safe_int<decltype(+value_), ErrorPolicy>
operator+() const;

Return Value

the (possibly promoted) wrapped value

NOTE

The return value should not be discarded.