Equality operator
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>
requires std::equality_comparable_with<quantity<R1, Rep1>, typename QP2::quantity_type>
[[nodiscard]]
constexpr
bool
operator==(
quantity_point<R1, PO1, Rep1> const& lhs,
QP2 const& rhs);
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.
true if the objects are equal, false otherwise
The return value should not be discarded.
| Name | Description |
|---|---|
| lhs | The left operand |
| rhs | The right operand |