find overloads

Synopses

Declared in <bdlc_flathashtable.h>

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

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.

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;

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;

Return Value

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

Parameters

Name

Description

key

key to look up

Created with MrDocs