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