mp_units::angular::operator==¶
Equality operator
Synopsis¶
Declared in <mp-units/framework/dimension.h>
template<Dimension Lhs, Dimension Rhs>
[[nodiscard]] consteval bool operator==(Lhs lhs, Rhs rhs);
Note
This function is a hidden friend of dim_angle, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.
Return Value¶
true if the objects are equal, false otherwise
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| lhs | The left operand |
| rhs | The right operand |