다음을 통해 공유


concurrent_unordered_set::concurrent_unordered_set 생성자

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

explicit concurrent_unordered_set(
   size_type _Number_of_buckets = 8,
   const hasher& _Hasher = hasher(),
   const key_equal& _Key_equality = key_equal(),
   const allocator_type& _Allocator = allocator_type()
);

concurrent_unordered_set(
   const allocator_type& _Allocator
);

template <
   typename _Iterator
>
concurrent_unordered_set(
   _Iterator_First,
   _Iterator_Last,
   size_type _Number_of_buckets = 8,
   const hasher& _Hasher = hasher(),
   const key_equal& _Key_equality = key_equal(),
   const allocator_type& _Allocator = allocator_type()
);

concurrent_unordered_set(
   const concurrent_unordered_set& _Uset
);

concurrent_unordered_set(
   const concurrent_unordered_set& _Uset,
   const allocator_type& _Allocator
);

concurrent_unordered_set(
   concurrent_unordered_set&& _Uset
);

매개 변수

  • _Iterator
    입력 반복기의 형식입니다.

  • _Number_of_buckets
    이 정렬 되지 않은 집합에 대 한 버킷 초기 개수입니다.

  • _Hasher
    이 정렬 되지 않은 집합에 대 한 해시 함수입니다.

  • _Key_equality
    이 정렬 되지 않은 집합에 대 한 동등 비교 함수입니다.

  • _Allocator
    이 정렬 되지 않은 집합에 대 한 할당 합니다.

  • _First

  • _Last

  • _Uset
    소스 concurrent_unordered_set 복사 하거나 요소를 이동 하는 개체입니다.

설명

모든 생성자 할당자 개체 저장 _Allocator 와 정렬 되지 않은 집합을 초기화 합니다.

첫 번째 생성자가 빈 초기 집합을 지정 고 명시적으로 버킷, 해시 함수, 동등 함수 및 할당 자가 입력 데 지정 합니다.

두 번째 생성자는 정렬 되지 않은 집합에 대 한 할당을 지정합니다.

세 번째 생성자는 반복기 범위에서 제공하는 값을 지정합니다[_Begin, _End).

네 번째 및 다섯 번째 생성자 동시 정렬 되지 않은 집합의 복사본을 지정 합니다. _Uset.

마지막으로 생성자 동시 정렬 되지 않은 집합의 이동을 지정 _Uset.

요구 사항

헤더: concurrent_unordered_set.h

네임 스페이스: 동시성

참고 항목

참조

concurrent_unordered_set 클래스