Negates the numerical value.
Synopsis
Declared in <mp‐units/framework/quantity.h>
[[nodiscard]]
constexpr
QuantityOf<quantity_spec> auto
operator‐() const
requires requires(const rep v) {
{ ‐v } ‐> std::common_with<rep>;
};
Return Value
A quantity holding ‐numerical_value, in the same reference.
|
Note
|
The return value should not be discarded. |
Created with MrDocs