[#mp_units-operator_eq-02] = xref:mp_units.adoc[mp_units]::operator== :relfileprefix: ../ :mrdocs: Equality operator == Synopsis Declared in `<mp‐units/framework/reference.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:mp_units/AssociatedUnit.adoc[AssociatedUnit] U2> [[nodiscard]] consteval bool operator==( xref:mp_units/reference.adoc[reference] lhs, U2 u2); ---- == Return Value `true` if the objects are equal, `false` otherwise == Parameters [cols=2] |=== | Name | Description | *lhs* | The left operand | *u2* | The right operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#