find overloads

Synopses

Declared in <bdlc_flathashset.h>

Return an iterator to the element with the specified key.

Return an iterator to the element equivalent to the specified key.

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 element, or end() if none

Parameters

Name

Description

key

key to look up

Created with MrDocs