Negates the wrapped value
Declared in <mp-units/utility/constrained.h>
[[nodiscard]]
constexpr
constrained<decltype(-std::declval<T>()), ErrorPolicy>
operator-(constrained const& x);
This function is a hidden friend of constrained, declared only inside that class: it can be found only through argument-dependent lookup.
| Name | Description |
|---|---|
| x | the wrapped value to negate |