5 Quantities and units library [quantities]

5.7 Quantity point [qty.pt]

5.7.11 Compound assignment operations [qty.pt.assign.ops]

template<Mutable<quantity_point> QP, auto R2, typename Rep2> requires see below friend constexpr decltype(auto) operator+=(QP&& qp, const quantity<R2, Rep2>& q); template<Mutable<quantity_point> QP, auto R2, typename Rep2> requires see below friend constexpr decltype(auto) operator-=(QP&& qp, const quantity<R2, Rep2>& q);
Let @ be the operator.
Effects: Equivalent to qp.quantity-from-origin @ q.
Returns: std​::​forward<QP>(qp).
Remarks: The expression in the requires-clause is equivalent to: QuantityConvertibleTo<quantity<R2, Rep2>, quantity_type> && requires { qp.quantity-from-origin @ q; }