Return a const iterator to the element equivalent to key, or end.
Synopsis
Declared in <bslstl_set.h>
const_iterator
find(key_type const& key) const;
Description
Return an iterator providing non‐modifiable access to the value_type object in this set that is equivalent to the specified key, if such an entry exists, and the past‐the‐end (end) iterator otherwise.
Note: implemented inline due to Sun CC compilation error.
Return Value
const iterator to the matching element, or end()
Parameters
Name |
Description |
key |
key value to look up |
Created with MrDocs