mp_units::quantity_point::zero

Returns a quantity point at point_origin, holding the representation type's zero value.

Synopsis

Declared in <mp-units/framework/quantity_point.h>

[[nodiscard]]
constexpr
static
quantity_point
zero() noexcept
requires (PO == default_point_origin(R)) && requires { quantity_type::zero(); };

Description

Only available when point_origin is the default point origin for R.

Return Value

A quantity point equal to quantity_type::zero() measured from point_origin.

NOTE

The return value should not be discarded.