mp_units::quantity::zero

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.