다음을 통해 공유


concurrent_unordered_map::at 메서드

요소를 발견 한 concurrent_unordered_map 지정 된 키 값을 가진.이 메서드는 동시성이 보장됩니다.

mapped_type& at(
   const key_type& _Keyval
);

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

매개 변수

  • _Keyval
    찾을 키 값입니다.

반환 값

찾은 요소의 데이터 값에 대 한 참조입니다.

설명

인수 키 값이 없는 경우 함수를 클래스의 개체를 throw out_of_range.

요구 사항

헤더: concurrent_unordered_map.h

네임 스페이스: 동시성

참고 항목

참조

concurrent_unordered_map 클래스