find

C/C++ Reference

find
Syntax:
  #include <set>
  iterator find( const key_type& key );

The find() function returns an iterator to key, or an iterator to the end of the multiset if key is not found.

find() runs in logarithmic time.