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

Synopsis

Declared in <bdlc_flathashtable.h>

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;

Description

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

Return Value

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

Parameters

Name

Description

key

key to look up

Created with MrDocs