mp_units::utility::operator+

Applies unary + to the wrapped value

Synopsis

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

[[nodiscard]]
constexpr
constrained<decltype(+std::declval<T>()), ErrorPolicy>
operator+(constrained const& x);

Return Value

the wrapped result of applying unary + to x

NOTE

The return value should not be discarded.

Parameters

NameDescription
xthe wrapped value to apply unary + to