concurrent_unordered_map::concurrent_unordered_map 생성자
순서가 지정되지 않은 동시 맵을 생성합니다.
explicit concurrent_unordered_map(
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_map(
const allocator_type& _Allocator
);
template <
typename _Iterator
>
concurrent_unordered_map(
_Iterator_Begin,
_Iterator_End,
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_map(
const concurrent_unordered_map& _Umap
);
concurrent_unordered_map(
const concurrent_unordered_map& _Umap,
const allocator_type& _Allocator
);
concurrent_unordered_map(
concurrent_unordered_map&& _Umap
);
매개 변수
_Iterator
입력 반복기의 형식입니다._Number_of_buckets
이 정렬되지 않은 map에 대한 초기 버킷 수입니다._Hasher
정렬되지 않은 map에 대한 해시 함수입니다._Key_equality
정렬되지 않은 map에 대한 동일 비교 함수입니다._Allocator
이 순서가 맵의 할당자입니다._Begin
복사할 요소의 범위에 있는 첫 번째 요소의 위치입니다._End
복사할 요소의 범위를 벗어나는 첫 번째 요소의 위치입니다._Umap
요소를 복사하거나 이동할 소스 concurrent_unordered_map 개체입니다.
설명
모든 생성자는 할당자 개체(_Allocator)를 저장하고 정렬되지 않은 map을 초기화합니다.
첫 번째 생성자는 빈 초기 map을 지정하고 명시적으로 버킷의 수, 해시 함수, 평등의 기능과 사용하는 할당 유형을 지정합니다.
두 번째 생성자는 정렬되지 않은 map 할당자를 지정합니다.
세 번째 생성자는 반복기 범위에서 제공하는 값을 지정합니다[_Begin, _End).
네 번째와 다섯 번째 생성자는 현재 정렬되지 않은 map _Umap 사본을 지정합니다.
마지막 생성기는 정렬되지 않은 _Umap map을 이동시킵니다.
요구 사항
헤더: concurrent_unordered_map.h
네임스페이스: 동시성