Unary plus operator

Synopsis

Declared in <mp‐units/safe_int.h>

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

Return Value

Another instance of the object

Note

The return value should not be discarded.

Created with MrDocs