[#mp_units-quantity_point-08-quantity_ref_from-07] = xref:mp_units.adoc[mp_units]::xref:mp_units/quantity_point-08.adoc[quantity_point]::quantity_ref_from :relfileprefix: ../../ :mrdocs: Returns a mutable reference to the underlying quantity, measured from `point_origin`. == Synopsis Declared in `<mp‐units/framework/quantity_point.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:mp_units/PointOrigin.adoc[PointOrigin] PO2> requires (PO2{} == point_origin) [[nodiscard]] constexpr xref:mp_units/quantity_point-08/quantity_type.adoc[quantity_type]& quantity_ref_from(PO2 po) & noexcept; ---- == Return Value A reference to the stored offset quantity. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *po* | a point origin equal to `point_origin` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#