Skip to content

mp_units::quantity_point::delta_from

Synopses

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

template</* implementation-defined */ PO2>
  requires requires(const quantity_point qp) { qp - PO2{}; }
[[nodiscard]] constexpr Quantity auto delta_from(PO2) const;

» more...

template</* implementation-defined */ QP>
  requires requires(const quantity_point self, const QP& other) { self - other; }
[[nodiscard]] constexpr Quantity auto delta_from(QP const& qp) const;

» more...

Return Value

Note

The return value should not be discarded.