mp_units::quantity_point::quantity_from¶
Synopses¶
Declared in <mp-units/framework/quantity_point.h>
template</* implementation-defined */ PO2>
requires requires(const quantity_point qp) { qp - PO2{}; }
[[deprecated("2.6.0: Use `delta_from` instead"), nodiscard]] constexpr Quantity auto quantity_from(PO2 po) const;
template</* implementation-defined */ QP>
[[deprecated("2.6.0: Use `delta_from` instead"), nodiscard]] constexpr Quantity auto quantity_from(QP const& qp) const;
Warning
Deprecated: 2.6.0: Use `delta_from` instead. Use of this entity is allowed but discouraged.
Return Value¶
Note
The return value should not be discarded.