Skip to content

mp_units::quantity_point::quantity_from_zero

Synopsis

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

[[nodiscard]] constexpr quantity_type const& quantity_from_zero() const noexcept
  requires(PO == default_point_origin(R) ||
           detail::unsatisfied<"'quantity_from_zero()' needs a point measured from the natural origin, not from '{}'">(
             detail::type_name(PO)));

Return Value

Note

The return value should not be discarded.