Checks whether two references are equal
Declared in <mp-units/framework/reference.h>
[[nodiscard]]
consteval
bool
operator==(
reference r1,
reference<Q2, U2> r2);
true if both the quantity specifications and the units are equal
The return value should not be discarded.
| Name | Description |
|---|---|
| r1 | the first reference to compare |
| r2 | the other reference to compare against |