mp_units::equivalent¶
The former name of utility::equivalent
Synopsis¶
Declared in <mp-units/framework/unit_definitions.h>
template<Unit Lhs, Unit Rhs>
[[deprecated("2.6.0: Use `utility::equivalent` instead"), nodiscard]] consteval bool
equivalent(Lhs lhs, Rhs rhs);
Warning
Deprecated: 2.6.0: Use `utility::equivalent` instead. Use of this entity is allowed but discouraged.
Note
This function is a hidden friend of one, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.
Return Value¶
Note
The return value should not be discarded.