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

Synopsis

Declared in <bdlc_flathashtable.h>

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;

Description

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

Return Value

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

Parameters

Name

Description

key

key to look up

Created with MrDocs