[#mp_units-operator_eq-07] = 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< typename Q2, typename U2> [[nodiscard]] consteval bool operator==( xref:mp_units/reference.adoc[reference] lhs, xref:mp_units/reference.adoc[reference<Q2, U2>] rhs); ---- == Return Value `true` if the objects are equal, `false` otherwise == Parameters [cols=2] |=== | Name | Description | *lhs* | The left operand | *rhs* | The right operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#