Return a const iterator to the first element equivalent to key.
Synopsis
Declared in <bslstl_unorderedmultiset.h>
unordered_multiset<KEY, HASH, EQUAL, ALLOCATOR>::const_iterator
find(key_type const& key) const;
Description
Return an iterator providing non‐modifiable access to the first value_type object in the sequence of all the value elements of this unordered multiset equivalent to the specified key, if such entries exist, and the past‐the‐end (end) iterator otherwise.
Return Value
const iterator to the element, or end() if not found
Parameters
Name |
Description |
key |
key value to look up |
Created with MrDocs