Return an iterator to the element equivalent to the specified key.
Declared in <bdlc_flathashset.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;
Return a const_iterator referring to the element in this set having the specified key, or end() if no such entry exists in this set.
iterator to the matching element, or end() if none
| Name | Description |
|---|---|
| key | key to look up |