concurrent_unordered_map::at Method


Finds an element in a concurrent_unordered_map with a specified key value.. This method is concurrency-safe.

mapped_type& at(
   const key_type& _Keyval

const mapped_type& at(
   const key_type& _Keyval
) const;


The key value to find.

A reference to the data value of the element found.

If the argument key value is not found, the function throws an object of class out_of_range.


Header: concurrent_unordered_map.h

Namespace: concurrency