std::unordered_multiset<Key,Hash,KeyEqual,Allocator>:: unordered_multiset
| (1) | ||
|
unordered_multiset
(
)
: unordered_multiset ( size_type ( /* unspecified */ ) ) { } |
(C++11부터)
(C++20까지) |
|
|
unordered_multiset
(
)
;
|
(C++20부터) | |
|
explicit
unordered_multiset
(
size_type bucket_count,
const
Hash
&
hash
=
Hash
(
)
,
|
(2) | (C++11 이후) |
|
unordered_multiset
(
size_type bucket_count,
const
Allocator
&
alloc
)
|
(3) | (C++14 이후) |
|
unordered_multiset
(
size_type bucket_count,
const
Hash
&
hash,
|
(4) | (C++14 이후) |
|
explicit
unordered_multiset
(
const
Allocator
&
alloc
)
;
|
(5) | (C++11 이후) |
|
template
<
class
InputIt
>
unordered_multiset
(
InputIt first, InputIt last,
|
(6) | (C++11 이후) |
|
template
<
class
InputIt
>
unordered_multiset
(
InputIt first, InputIt last,
|
(7) | (C++14 이후) |
|
template
<
class
InputIt
>
unordered_multiset
(
InputIt first, InputIt last,
|
(8) | (C++14 이후) |
|
unordered_multiset
(
const
unordered_multiset
&
other
)
;
|
(9) | (C++11 이후) |
|
unordered_multiset
(
const
unordered_multiset
&
other,
const
Allocator
&
alloc
)
;
|
(10) | (C++11 이후) |
|
unordered_multiset
(
unordered_multiset
&&
other
)
;
|
(11) | (C++11 이후) |
|
unordered_multiset
(
unordered_multiset
&&
other,
const
Allocator
&
alloc
)
;
|
(12) | (C++11 이후) |
|
unordered_multiset
(
std::
initializer_list
<
value_type
>
init,
size_type bucket_count
=
/* 지정되지 않음 */
,
|
(13) | (C++11 이후) |
|
unordered_multiset
(
std::
initializer_list
<
value_type
>
init,
size_type bucket_count,
|
(14) | (C++14부터) |
|
unordered_multiset
(
std::
initializer_list
<
value_type
>
init,
size_type bucket_count,
|
(15) | (C++14부터) |
|
template
<
container-compatible-range
<
value_type
>
R
>
unordered_multiset
(
std::
from_range_t
, R
&&
rg,
|
(16) | (C++23부터) |
|
template
<
container-compatible-range
<
value_type
>
R
>
unordered_multiset
(
std::
from_range_t
, R
&&
rg,
|
(17) | (C++23부터) |
|
template
<
container-compatible-range
<
value_type
>
R
>
unordered_multiset
(
std::
from_range_t
, R
&&
rg,
|
(18) | (C++23 이후) |
다양한 데이터 소스로부터 새로운 컨테이너를 생성합니다. 선택적으로 사용자가 제공한 bucket_count 를 생성할 최소 버킷 수로 사용하고, hash 를 해시 함수로, equal 를 키 비교 함수로, alloc 를 할당자로 사용합니다.
|
템플릿 매개변수
|
(C++23 이후) |
|
템플릿 매개변수
|
(C++23부터) |
목차매개변수
복잡도
1-5)
상수.
9,10)
other
의 크기에 선형적입니다.
11,12)
상수. 만약
alloc
이 주어지고
alloc
!
=
other.
get_allocator
(
)
인 경우, 선형입니다.
예외
참고컨테이너 이동 생성(오버로드 (4)) 후, 원래 C++23까지 공식적으로 요구되지는 않지만, 일부 구현체는 이미 이전 모드에서 템플릿 매개변수
예제
결함 보고서다음 동작 변경 결함 보고서는 이전에 발표된 C++ 표준에 소급 적용되었습니다.
참고 항목
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||