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;
Parameters
- _Keyval
The key value to find.
Return Value
A reference to the data value of the element found.
Remarks
If the argument key value is not found, the function throws an object of class out_of_range.
Requirements
Header: concurrent_unordered_map.h
Namespace: concurrency