[#mp_units-operator_minus-07] = xref:mp_units.adoc[mp_units]::operator‐ :relfileprefix: ../ :mrdocs: Subtraction operator == Synopsis Declared in `<mp‐units/framework/quantity_point.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< xref:mp_units/PointOrigin.adoc[PointOrigin] PO1, auto R2, auto PO2, typename Rep2> requires QuantityPointOf<quantity_point<R2, PO2, Rep2>, PO1{}> && ReferenceOf<MP_UNITS_REMOVE_CONST(decltype(R2)), get_quantity_spec(PO1{})> [[nodiscard]] constexpr xref:mp_units/Quantity-0c.adoc[Quantity] auto operator‐( PO1 po, xref:mp_units/quantity_point-08.adoc[quantity_point<R2, PO2, Rep2>] const& qp); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:mp_units/quantity_point-08.adoc[quantity_point], declared inside an implementation-defined base class: it can be found only through argument-dependent lookup. ==== == Return Value [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *po* | The left operand | *qp* | The right operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#