Function call operators

Synopses

Declared in <bdlc_hashtable.h>

Same as the preceding overload for a null‐terminated C string.

unsigned int
operator()(ConstCharPtr const& key) const;

Same as the preceding overload for a bsl::string.

unsigned int
operator()(bsl::string const& key) const;

Return the result of bdlb::HashUtil::hash1 using key data and key length. If the specified key is not of type const char* or bsl::string, then the footprint and size of the object are used as key data and key length, respectively.

template<class KEY>
unsigned int
operator()(KEY const& key) const;

Created with MrDocs