pyd v0.14.3 (2022-03-12T16:12:50Z)
Home
Dub
Repo
Hashed.Inner
pyd
util
multi_index
Hashed
_
template
Hashed
(bool allowDuplicates = false, alias KeyFromValue = "a", alias Hash = "typeid(a).getHash(&a)", alias Eq = "a==b")
template
Inner (
ThisContainer
ThisNode
Value
ValueView
size_t
N
Allocator
) {
alias
key
=
unaryFun
!
KeyFromValue
;
alias
KeyType
=
typeof
(
key
(
Value
.
init
))
;
alias
NodeTuple
=
TypeTuple
!(
N
)
;
alias
IndexTuple
=
TypeTuple
!(
N
,
KeyFromValue
,
Hash
,
Eq
,
allowDuplicates
,
Sequenced
!().
Inner
!(
ThisContainer
,
ThisNode
,
Value
,
ValueView
,
N
,
Allocator
).
SequencedRange
,
ThisContainer
)
;
alias
NodeMixin
=
Sequenced
!().
Inner
!(
ThisContainer
,
ThisNode
,
Value
,
ValueView
,
N
,
Allocator
).
NodeMixin
;
enum
IndexCtorMixin
;
mixintemplate
IndexMixin
(size_t N, alias KeyFromValue, alias Hash, alias Eq, bool allowDuplicates, alias SeqRange, ThisContainer)
;
}
Members
Aliases
IndexTuple
alias
IndexTuple
=
TypeTuple
!(
N
,
KeyFromValue
,
Hash
,
Eq
,
allowDuplicates
,
Sequenced
!().
Inner
!(
ThisContainer
,
ThisNode
,
Value
,
ValueView
,
N
,
Allocator
).
SequencedRange
,
ThisContainer
)
Undocumented in source.
KeyType
alias
KeyType
=
typeof
(
key
(
Value
.
init
))
Undocumented in source.
NodeMixin
alias
NodeMixin
=
Sequenced
!().
Inner
!(
ThisContainer
,
ThisNode
,
Value
,
ValueView
,
N
,
Allocator
).
NodeMixin
Undocumented in source.
NodeTuple
alias
NodeTuple
=
TypeTuple
!(
N
)
Undocumented in source.
key
alias
key
=
unaryFun
!
KeyFromValue
Undocumented in source.
Manifest constants
IndexCtorMixin
enum
IndexCtorMixin
;
Undocumented in source.
Mixin templates
IndexMixin
mixintemplate
IndexMixin
(size_t N, alias KeyFromValue, alias Hash, alias Eq, bool allowDuplicates, alias SeqRange, ThisContainer)
index implementation
Meta
Source
See Implementation
pyd
util
multi_index
Hashed
templates
Inner
variables
BenefitsFromSignals
_