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
네임스페이스: 동시성