Return an iterator to the first element with key equivalent to key.
Declared in <bslstl_unorderedmultimap.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 an iterator providing modifiable access to the first value_type object in this unordered multimap whose key is equivalent to the specified key, if such an entry exists, and the past-the-end (end) iterator otherwise. The behavior is undefined unless key is equivalent to the key of the elements of at most one equivalent-key group in this unordered multimap.
const iterator to the element, or end() if not found
| Name | Description |
|---|---|
| key | transparent key value to look up |