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

`areEqual` overloads

== Synopses

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

Same as the preceding overload for null&hyphen;terminated C strings&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/bdlc/HashTableDefaultTraits/areEqual-04.adoc[areEqual](
    xref:BloombergLP/bdlc/HashTableDefaultTraits.adoc[ConstCharPtr] const& key1,
    xref:BloombergLP/bdlc/HashTableDefaultTraits.adoc[ConstCharPtr] const& key2);
----

[.small]#xref:BloombergLP/bdlc/HashTableDefaultTraits/areEqual-04.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class KEY&gt;
static
bool
xref:BloombergLP/bdlc/HashTableDefaultTraits/areEqual-00.adoc[areEqual](
    KEY const& key1,
    KEY const& key2);
----

[.small]#xref:BloombergLP/bdlc/HashTableDefaultTraits/areEqual-00.adoc[_» more&period;&period;&period;_]#

== Return Value

`true` if `key1` and `key2` are equal, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key1*
| first key to compare
| *key2*
| second key to compare
|===


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