concurrent_unordered_map::find Method

Finds an element that matches a specified key. This function is concurrency safe.

iterator find(
   const key_type& _Keyval );
const_iterator find(
   const key_type& _Keyval
) const;

Parameters

  • _Keyval
    The key value to search for.

Return Value

An iterator pointing to the location of the the first element that matched the key provided, or the iterator end() if no such element exists.

Requirements

Header: internal_concurrent_hash.h

Namespace: concurrency

See Also

Reference

concurrent_unordered_map Class