Equality operator
Declared in <mp-units/framework/dimension.h>
template<
Dimension Lhs,
Dimension Rhs>
[[nodiscard]]
consteval
bool
operator==(
Lhs lhs,
Rhs rhs);
This function is a hidden friend of derived_dimension, 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 |