BloombergLP::bdlc::FlatHashTable::find

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

Synopsis

Declared in <bdlc_flathashtable.h>

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

Description

Return an iterator providing modifiable access to the object in this flat hash table with a key equal to the specified key, if such an entry exists, and end() otherwise.

Return Value

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

Parameters

NameDescription
keykey to look up