[#mp_units-equivalent-06] = xref:mp_units.adoc[mp_units]::equivalent :relfileprefix: ../ :mrdocs: == Synopsis Declared in `<mp‐units/framework/unit_definitions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< xref:mp_units/Unit.adoc[Unit] Lhs, xref:mp_units/Unit.adoc[Unit] Rhs> [[nodiscard]] consteval bool equivalent( Lhs lhs, Rhs rhs); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:mp_units/prefixed_unit.adoc[prefixed_unit], declared inside an implementation-defined base class: it can be found only through argument-dependent lookup. ==== == Return Value [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#