[#bsl-equal_to-0d-operator_call]
= xref:bsl.adoc[bsl]::xref:bsl/equal_to-0d.adoc[equal&lowbar;to]::operator()
:relfileprefix: ../../
:mrdocs:

Return `true` if the specified `lhs` compares equal to the specified `rhs` using the equality&hyphen;comparison operator, `lhs &equals;&equals; rhs`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;equalto&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
bool
operator()(
    VALUE&lowbar;TYPE const& lhs,
    VALUE&lowbar;TYPE const& rhs) const;
----

== 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]#
