[#BloombergLP-bdlc-HashTableDefaultHash1-operator_call-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/HashTableDefaultHash1.adoc[HashTableDefaultHash1]::operator()
:relfileprefix: ../../../
:mrdocs:

Function call operators

== Synopses

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unsigned int
xref:BloombergLP/bdlc/HashTableDefaultHash1/operator_call-0c.adoc[operator()](xref:BloombergLP/bdlc/HashTableDefaultHash1/ConstCharPtr.adoc[ConstCharPtr] const& key) const;
----

[.small]#xref:BloombergLP/bdlc/HashTableDefaultHash1/operator_call-0c.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload for a `bsl&colon;&colon;string`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unsigned int
xref:BloombergLP/bdlc/HashTableDefaultHash1/operator_call-0f.adoc[operator()](xref:bsl/string.adoc[bsl::string] const& key) const;
----

[.small]#xref:BloombergLP/bdlc/HashTableDefaultHash1/operator_call-0f.adoc[_» more&period;&period;&period;_]#

Return the result of `bdlb&colon;&colon;HashUtil&colon;&colon;hash1` using key data and key length&period; If the specified `key` is not of type `const char&ast;` or `bsl&colon;&colon;string`, then the footprint and size of the object are used as key data and key length, respectively&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class KEY&gt;
unsigned int
xref:BloombergLP/bdlc/HashTableDefaultHash1/operator_call-06.adoc[operator()](KEY const& key) const;
----

[.small]#xref:BloombergLP/bdlc/HashTableDefaultHash1/operator_call-06.adoc[_» more&period;&period;&period;_]#


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