[#BloombergLP-bdlc-HashTableDefaultTraits-areEqual-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/HashTableDefaultTraits.adoc[HashTableDefaultTraits]::areEqual
:relfileprefix: ../../../
:mrdocs:

Return true if the specified `key1` and the specified `key2` are equal, and false otherwise&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;hashtable&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class KEY&gt;
static
bool
areEqual(
    KEY const& key1,
    KEY const& key2);
----


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