Return a const iterator to the first element with key key, or end().
Declared in <bslstl_multimap.h>
template<class LOOKUP_KEY>
const_iterator
find(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR,
LOOKUP_KEY>::value;
Return an iterator providing non-modifiable access to the first value_type object having the specified key in the ordered sequence maintained by this multimap, if such an object exists, and the past-the-end (end) iterator otherwise.
Note: implemented inline due to Sun CC compilation error.
const iterator to the matching element, or end()
| Name | Description |
|---|---|
| key | key value to look up |