[#mp_units-operator_plus-0a0] = xref:mp_units.adoc[mp_units]::operator+ :relfileprefix: ../ :mrdocs: Addition operator == Synopsis Declared in `<mp‐units/framework/quantity_point.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename FwdQ, xref:mp_units/PointOrigin.adoc[PointOrigin] PO, xref:mp_units/Quantity-0c.adoc[Quantity] Q = std::remove_cvref_t<FwdQ>> requires PointOriginFor<PO, Q::quantity_spec> [[nodiscard]] constexpr xref:mp_units/QuantityPoint.adoc[QuantityPoint] auto operator+( FwdQ&& q, PO po); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:mp_units/absolute_point_origin.adoc[absolute_point_origin], 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 | *q* | The left operand | *po* | The right operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#