concurrent_unordered_map::at 메서드
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
네임스페이스: 동시성