find

Syntax:

    #include <map>
    iterator find( const key_type& key );

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

find() runs in logarithmic time.