deduction guides for
std::flat_multimap
|
헤더 파일에 정의됨
<flat_map>
|
||
|
template
<
class
KeyContainer,
class
MappedContainer,
class
Compare
=
std::
less
<
typename
KeyContainer
::
value_type
>
>
|
(1) | (C++23부터) |
|
template
<
class
KeyContainer,
class
MappedContainer,
class
Allocator
>
flat_multimap
(
KeyContainer, MappedContainer, Allocator
)
|
(2) | (C++23 이후) |
|
template
<
class
KeyContainer,
class
MappedContainer,
class
Compare,
class
Allocator
>
|
(3) | (C++23 이후) |
|
template
<
class
KeyContainer,
class
MappedContainer,
class
Compare
=
std::
less
<
typename
KeyContainer
::
value_type
>
>
|
(4) | (C++23 이후) |
|
template
<
class
KeyContainer,
class
MappedContainer,
class
Allocator
>
flat_multimap
(
std::
sorted_equivalent_t
, KeyContainer, MappedContainer,
|
(5) | (C++23부터) |
|
template
<
class
KeyContainer,
class
MappedContainer,
class
Compare,
class
Allocator
>
|
(6) | (C++23부터) |
|
template
<
class
InputIt,
class
Compare
=
std::
less
<
/*iter-key-t*/
<
InputIt
>>
>
|
(7) | (C++23부터) |
|
template
<
class
InputIt,
class
Compare
=
std::
less
<
/*iter-key-t*/
<
InputIt
>>
>
|
(8) | (C++23 이후) |
|
template
<
ranges::
input_range
R,
class
Compare
=
std::
less
<
/*range-key-t*/
<
R
>>
,
|
(9) | (C++23부터) |
|
template
<
ranges::
input_range
R,
class
Allocator
>
flat_multimap
(
std::
from_range_t
, R
&&
, Allocator
)
|
(10) | (C++23 이후) |
|
template
<
class
Key,
class
T,
class
Compare
=
std::
less
<
Key
>
>
flat_multimap
(
std::
initializer_list
<
pair
<
Key, T
>>
, Compare
=
Compare
(
)
)
|
(11) | (C++23 이후) |
|
template
<
class
Key,
class
T,
class
Compare
=
std::
less
<
Key
>
>
flat_multimap
(
std::
sorted_equivalent_t
,
std::
initializer_list
<
pair
<
Key, T
>>
,
|
(12) | (C++23부터) |
|
설명 전용 헬퍼 타입 별칭
|
||
|
template
<
class
InputIt
>
using
/*iter-val-t*/
=
|
( 설명 전용* ) | |
|
template
<
class
InputIt
>
using
/*iter-key-t*/
=
|
( 설명 전용* ) | |
|
template
<
class
InputIt
>
using
/*iter-mapped-t*/
=
|
( 설명 전용* ) | |
|
template
<
class
Allocator,
class
T
>
using
/*alloc-rebind*/
=
|
( 설명 전용* ) | |
|
template
<
ranges::
input_range
Range
>
using
/*range-key-t*/
=
|
( exposition only* ) | |
|
template
<
ranges::
input_range
Range
>
using
/*range-mapped-t*/
=
|
( 설명 전용* ) | |
이러한
deduction guides
는
에 대한 추론을 허용하기 위해 제공됩니다:
이 오버로드들은 다음 조건에서만 오버로드 해결에 참여합니다:
InputIt
가
LegacyInputIterator
요구 사항을 충족하고,
Alloc
가
Allocator
요구 사항을 충족하며,
Comp
가
Allocator
요구 사항을 충족하지 않는 경우에만.
참고: 라이브러리가 특정 타입이
LegacyInputIterator
요구사항을 만족하지 않는다고 판단하는 범위는 명시되지 않았으나, 최소한 정수 타입들은 입력 반복자로 적격이 아닙니다. 마찬가지로, 특정 타입이
Allocator
요구사항을 만족하지 않는다고 판단하는 범위도 명시되지 않았으나, 최소한 멤버 타입
Alloc::value_type
이 존재해야 하며
std::
declval
<
Alloc
&
>
(
)
.
allocate
(
std::
size_t
{
}
)
표현식이 평가되지 않은 피연산자로 취급될 때 형식이 올바르게 구성되어야 합니다.
예제
|
이 섹션은 불완전합니다
이유: 예제가 없음 |