Return a const iterator to the element with key key, or end().
Declared in <bslstl_map.h>
template<class LOOKUP_KEY>
const_iterator
find(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR,
LOOKUP_KEY>::value;
Return a const iterator to the entry with key key, or end().
Return an iterator providing non-modifiable access to the value_type object in this map whose key is equivalent to the specified key, if such an entry exists, and the past-the-end (end) iterator otherwise.
const iterator to the matching element, or end()
| Name | Description |
|---|---|
| key | key value to look up |