Subtraction operator
Synopsis
Declared in <mp‐units/framework/quantity_point.h>
template<
auto R1,
auto PO1,
typename Rep1,
QuantityPointOf<mp_units::detail::get_absolute_point_origin(PO1)> QP2>
[[nodiscard]]
constexpr
Quantity auto
operator‐(
quantity_point<R1, PO1, Rep1> const& lhs,
QP2 const& rhs)
requires requires { lhs.quantity_ref_from(PO1) ‐ rhs.quantity_ref_from(QP2::point_origin); };
|
Note
|
This function is a hidden friend of quantity_point, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup. |
Return Value
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
lhs |
The left operand |
rhs |
The right operand |
Created with MrDocs