Subtraction operator
Synopsis
Declared in <mp‐units/framework/quantity_point.h>
template<
PointOrigin PO1,
auto R2,
auto PO2,
typename Rep2>
requires QuantityPointOf<quantity_point<R2, PO2, Rep2>, PO1{}> &&
ReferenceOf<MP_UNITS_REMOVE_CONST(decltype(R2)), get_quantity_spec(PO1{})>
[[nodiscard]]
constexpr
Quantity auto
operator‐(
PO1 po,
quantity_point<R2, PO2, Rep2> const& qp);
|
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 |
po |
The left operand |
qp |
The right operand |
Created with MrDocs