[#bsl-equal_to-09]
= xref:bsl.adoc[bsl]::xref:bsl/equal_to-0d.adoc[equal&lowbar;to]&lt;void&gt;
:relfileprefix: ../
:mrdocs:

This `struct` defines a binary comparison functor applying `operator&equals;&equals;` to two objects of (possibly different) types&period; Note that this class is an empty POD type&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
struct xref:bsl/equal_to-0d.adoc[equal&lowbar;to]&lt;void&gt;;
----

== Type Aliases

[cols="1"]
|===
| Name
| xref:bsl/equal_to-09/is_transparent.adoc[`is&lowbar;transparent`] 
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:bsl/equal_to-09/operator_call.adoc[`operator()`] 
| Return `true` if the specified `lhs` compares equal to the specified `rhs` using the equality&hyphen;comparison operator, `lhs &equals;&equals; rhs`&period; Implemented inline because of all the duplication of `std&colon;&colon;forward&lt;TYPE1&gt;(lhs) &equals;&equals; std&colon;&colon;forward&lt;TYPE2&gt;(rhs)`&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
