Checks whether two safe_int values wrap equal underlying values.
Declared in <mp-units/utility/safe_int.h>
[[nodiscard]]
constexpr
bool
operator==(
safe_int lhs,
safe_int rhs) noexcept;
This function is a hidden friend of safe_int, declared only inside that class: it can be found only through argument-dependent lookup.
| Name | Description |
|---|---|
| lhs | the first value to compare |
| rhs | the second value to compare |