Return a const iterator to the element with the specified key.
Synopsis
Declared in <bslstl_unorderedmap.h>
const_iterator
find(key_type const& key) const;
Description
Return an iterator providing non‐modifiable access to the value_type object in this unordered map with a key equivalent to the specified key, if such an entry exists, and the past‐the‐end iterator (end) otherwise.
Return Value
const iterator to the element, or end() if not found
Parameters
Name |
Description |
key |
key to look up |
Created with MrDocs