btl ~master (2022-05-26T13:46:37Z)
Dub
Repo
FlatMap
btl
vector
flat_map
template
FlatMap (
_Key
_Value
size_t
N
= 0
_Allocator
=
DefaultAllocator
bool
_supportGC
=
(
shouldAddGCRange
!
_Key
||
shouldAddGCRange
!
_Value
)
) {
import
core
.
lifetime
:
forward
,
move
;
;
import
core
.
lifetime
:
forward
,
move
;
;
import
std
.
traits
:
CopyConstness
,
isMutable
;
;
import
std
.
traits
:
CopyConstness
,
isMutable
;
;
import
std
.
meta
:
AliasSeq
;
;
alias
Pair
=
.
Pair
!(
_Key
,
_Value
)
;
alias
Storage
=
Vector
!(
Pair
,
N
,
_Allocator
,
_supportGC
)
;
static
_Key
makeKey
(K key);
struct
FlatMap
;
}
Members
Aliases
Pair
alias
Pair
=
.
Pair
!(
_Key
,
_Value
)
Undocumented in source.
Storage
alias
Storage
=
Vector
!(
Pair
,
N
,
_Allocator
,
_supportGC
)
Undocumented in source.
Static functions
makeKey
_Key
makeKey
(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
Structs
FlatMap
struct
FlatMap
Undocumented in source.
Meta
Source
See Implementation
btl
vector
flat_map
aliases
DefaultAllocator
Forward
templates
FlatMap
GetVectorType
hasCopyConstructor
isAssignable
isConstructable
isFlatMap
variables
safeAllcoate