Returns a quantity holding the representation type's zero value.
Synopsis
Declared in <mp‐units/framework/quantity.h>
[[nodiscard]]
constexpr
static
quantity
zero() noexcept
requires requires { representation_values<rep>::zero(); };
Return Value
A quantity equal to representation_values<rep>::zero() expressed in reference.
|
Note
|
The return value should not be discarded. |
Created with MrDocs