다음을 통해 공유


concurrent_unordered_set 클래스

concurrent_unordered_set 클래스는 다양 한 길이의 시퀀스 요소의 형식 _key_type의 제어는 동시성이 컨테이너입니다.시퀀스의 동시성이 보장 방식에 표시 됩니다 추가, 요소 액세스, 반복기 액세스 및 반복기 트래버스 작업 합니다.

template <
   typename _Key_type,
   typename _Hasher = std::tr1::hash<_Key_type>,
   typename _Key_equality = std::equal_to<_Key_type>,
   typename _Allocator_type = std::allocator<_Key_type>
>
, typename _Key_equality = std::equal_to<_Key_type>, typename _Allocator_type = std::allocator<_Key_type> > class concurrent_unordered_set : public details::_Concurrent_hash< details::_Concurrent_unordered_set_traits<_Key_type, details::_Hash_compare<_Key_type, _Hasher, _Key_equality>, _Allocator_type, false> >;

매개 변수

  • _Key_type
    키 유형입니다.

  • _Hasher
    해시 함수 개체의 형식입니다.이 인수는 선택적 요소이며 기본값은 std::tr1::hash<_Key_type**>**입니다.

  • _Key_equality
    같음 비교 함수 개체 형식입니다.이 인수는 선택적 요소이며 기본값은 std::equal_to<_Key_type**>**입니다.

  • _Allocator_type
    동시 정렬 되지 않은 집합에 대 한 메모리 할당 및 할당 세부 정보를 캡슐화 하는 저장 된 할당 기 개체를 나타내는 형식입니다.이 인수는 선택적 요소이며 기본값은 std::allocator<_Key_type**>**입니다.

Members

Hh750108.collapse_all(ko-kr,VS.110).gif공용 Typedefs

이름

설명

allocator_type

저장소 관리는 할당자의 형식입니다.

const_iterator

제어 되는 시퀀스에 있는 상수 반복기의 형식입니다.

const_local_iterator

제어 되는 시퀀스에 있는 상수 통 반복기의 형식입니다.

const_pointer

형식 요소에 대 한 상수 포인터입니다.

const_reference

형식 요소에 대 한 상수 참조입니다.

difference_type

두 요소 사이의 부호가 있는 거리를 유형을 지정 합니다.

hasher

해시 함수의 형식입니다.

iterator

제어 되는 시퀀스에 대 한 반복기의 형식입니다.

key_equal

비교 함수의 형식입니다.

key_type

정렬 키의 형식입니다.

local_iterator

제어 되는 시퀀스에 있는 통 반복기의 형식입니다.

pointer

형식 요소에 대 한 포인터입니다.

reference

형식 요소에 대 한 참조입니다.

size_type

형식에서 두 요소 사이의 부호 없는 거리입니다.

value_type

요소의 형식입니다.

Hh750108.collapse_all(ko-kr,VS.110).gifPublic 생성자

이름

설명

concurrent_unordered_set::concurrent_unordered_set 생성자

오버로드.동시 정렬 되지 않은 집합을 만듭니다.

Hh750108.collapse_all(ko-kr,VS.110).gifPublic 메서드

이름

설명

concurrent_unordered_set::begin Method

동시 컨테이너의 첫 번째 요소를 가리키는 반복기를 반환 합니다.이 메서드는 동시성 안전입니다.

concurrent_unordered_set::cbegin Method

동시 컨테이너의 첫 번째 요소를 가리키는 있는 const 반복기를 반환 합니다.이 메서드는 동시성 안전입니다.

concurrent_unordered_set::cend Method

동시 컨테이너의 마지막 요소 다음에 나오는 위치를 가리키는 있는 const 반복기를 반환 합니다.이 메서드는 동시성 안전입니다.

concurrent_unordered_set::clear Method

동시 컨테이너의 모든 요소를 지웁니다.이 함수는 동시성이 안전 하지 않습니다.

concurrent_unordered_set::count Method

지정 된 키와 일치 하는 요소의 수를 셉니다.이 함수는 동시성 안전입니다.

concurrent_unordered_set::empty Method

테스트 요소가 없는지 여부를 표시 합니다.이 메서드는 동시성 안전입니다.

concurrent_unordered_set::end Method

동시 컨테이너의 마지막 요소 다음에 나오는 위치를 가리키는 반복기를 반환 합니다.이 메서드는 동시성 안전입니다.

concurrent_unordered_set::equal_range Method

지정 된 키와 일치 하는 범위를 찾습니다.이 함수는 동시성 안전입니다.

concurrent_unordered_set::find Method

지정된 키와 일치하는 요소를 찾습니다.이 함수는 동시성 안전입니다.

concurrent_unordered_set::get_allocator Method

이 동시 컨테이너에 저장 된 할당 기 개체를 반환합니다.이 메서드는 동시성 안전입니다.

concurrent_unordered_set::hash_function 메서드

저장 된 해시 함수 개체를 반환합니다.

concurrent_unordered_set::insert 메서드

오버로드.요소에 추가 된 concurrent_unordered_set 개체입니다.

concurrent_unordered_set::key_eq 메서드

저장 된 같음 비교 함수 개체를 반환합니다.

concurrent_unordered_set::load_factor Method

계산 하 고 컨테이너의 현재 부하 비율을 반환 합니다.로드 비율은 버킷 개수로 나눈 컨테이너의에서 요소 수입니다.

concurrent_unordered_set::max_load_factor Method

컨테이너의 최대 부하 비율을 가져오거나 설정 합니다.최대 로드 비율 가장 많은 요소 컨테이너의 내부 테이블 커지기 전에 모든 버킷 수 것입니다.

concurrent_unordered_set::max_size Method

동시 컨테이너 할당자에서 결정의 최대 크기를 반환 합니다.이 메서드는 동시성 안전입니다.

concurrent_unordered_set::rehash Method

해시 테이블을 다시 빌드합니다.

concurrent_unordered_set::size Method

이 동시 컨테이너에서 요소를 반환합니다.이 메서드는 동시성 안전입니다.

concurrent_unordered_set::swap 메서드

concurrent_unordered_set 개체의 내용을 바꿉니다.이 메서드는 동시성이 보장되지 않습니다.

concurrent_unordered_set::unsafe_begin Method

이 특정 버킷이 컨테이너의 첫 번째 요소에 반복기를 반환합니다.

concurrent_unordered_set::unsafe_bucket Method

이 컨테이너에 매핑된 특정 키 버킷 인덱스를 반환 합니다.

concurrent_unordered_set::unsafe_bucket_count Method

이 컨테이너에서 현재 버킷 개수를 반환합니다.

concurrent_unordered_set::unsafe_bucket_size Method

특정 통이 컨테이너의 항목 수를 반환합니다.

concurrent_unordered_set::unsafe_cbegin Method

이 특정 버킷이 컨테이너의 첫 번째 요소에 반복기를 반환합니다.

concurrent_unordered_set::unsafe_cend Method

특정 버킷 마지막 요소 다음에 나오는 위치에 반복기를 반환 합니다.

concurrent_unordered_set::unsafe_end Method

이 특정 버킷이 컨테이너의 마지막 요소에 반복기를 반환합니다.

concurrent_unordered_set::unsafe_erase 메서드

오버로드.요소를 제거는 concurrent_unordered_set 지정 된 위치에 있습니다.이 메서드는 동시성이 보장되지 않습니다.

concurrent_unordered_set::unsafe_max_bucket_count Method

이 컨테이너에 최대 버킷 수를 반환합니다.

Hh750108.collapse_all(ko-kr,VS.110).gifPublic 연산자

이름

설명

concurrent_unordered_set::operator= 연산자

오버로드.다른 concurrent_unordered_set 개체의 내용을 여기에 할당합니다.이 메서드는 동시성이 보장되지 않습니다.

설명

concurrent_unordered_set에 대한 자세한 내용은 병렬 컨테이너 및 개체를 참조하십시오.

상속 계층 구조

_Traits

_Concurrent_hash

concurrent_unordered_set

요구 사항

헤더: concurrent_unordered_set.h

네임 스페이스: 동시성

참고 항목

참조

동시성 네임스페이스

개념

병렬 컨테이너 및 개체