在 concurrent_unordered_map 中查找具有指定键值的元素。 此方法是并发安全方法。
mapped_type& at(
const key_type& _Keyval
);
const mapped_type& at(
const key_type& _Keyval
) const;
参数
- _Keyval
要查找的键值。
返回值
与找到的元素数据值的引用。
备注
如果找不到参数的键值,该函数引发选件类 out_of_range对象。
要求
**头文件:**concurrent_unordered_map.h
**命名空间:**并发