Returns a mutable reference to the underlying quantity, measured from point_origin.

Synopsis

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

template<PointOrigin PO2>
requires (PO2{} == point_origin)
[[nodiscard]]
constexpr
quantity_type&
quantity_ref_from(PO2 po) & noexcept;

Return Value

A reference to the stored offset quantity.

Note

The return value should not be discarded.

Parameters

Name

Description

po

a point origin equal to point_origin

Created with MrDocs