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