Equality operator
Declared in <mp-units/utility/constrained.h>
[[nodiscard]]
constexpr
bool
operator==(
constrained<T, EP> const& lhs,
constrained<U, EP> const& rhs);
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 |