Subtraction operator
Synopsis
Declared in <mp‐units/framework/quantity_point.h>
template<
PointOrigin PO1,
/* implementation-defined */ PO2>
requires (PointOriginFor<PO2, get_quantity_spec(PO1{})> || PointOriginFor<PO1, get_quantity_spec(PO2{})>) &&
(is_derived_from_specialization_of_v<PO1, relative_point_origin> ||
is_derived_from_specialization_of_v<PO2, relative_point_origin>)
[[nodiscard]]
constexpr
Quantity auto
operator‐(
PO1 lhs,
PO2 rhs);
|
Note
|
This function is a hidden friend of absolute_point_origin, 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