BloombergLP::bdlc::FlatHashTable::find

find overloads

Synopses

Declared in <bdlc_flathashtable.h>

Return an iterator to the entry with the specified key, or end().

FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL>::iterator
find(KEY const& key);
» more...

Return an iterator representing the position of the entry in this flat hash table having the specified key, or end() if no such entry exists in this table.

FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL>::const_iterator
find(KEY const& key) const;
» more...

Return an iterator to the entry equivalent to key, or end().

template<class LOOKUP_KEY>
iterator
find(LOOKUP_KEY const& key)
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
         && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;
» more...

Return an iterator to the entry equivalent to key, or end().

template<class LOOKUP_KEY>
const_iterator
find(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
         && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;
» more...

Return Value

iterator to the matching entry, or end() if none

Parameters

NameDescription
keykey to look up