[#mp_units-utility-operator_eq-0e] = xref:mp_units.adoc[mp_units]::xref:mp_units/utility.adoc[utility]::operator== :relfileprefix: ../../ :mrdocs: Equality operator == Synopsis Declared in `<mp‐units/utility/safe_int.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] constexpr bool operator==( xref:mp_units/utility/safe_int-07.adoc[safe_int] lhs, U rhs); ---- == Return Value `true` if the objects are equal, `false` otherwise [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | The left operand | *rhs* | The right operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#