enumap ~master (2022-05-05T07:09:46.3979793)
Dub
Repo
Enumap.opUnary
enumap
Enumap
Perform a unary operation on each entry.
struct
Enumap
(K, V)
const
auto
opUnary
(
string
op
)
(
)
if
(
is
(
typeof
(mixin (
op
~ "V.init")) :
V
)
)
if
(
EnumMembers
!
K
==
aliasSeqOf
!(
EnumMembers
!
K.length.iota
)
)
Meta
Source
See Implementation
enumap
Enumap
constructors
this
functions
byKey
byKeyValue
byValue
opApply
opAssign
opBinary
opDispatch
opIndex
opOpAssign
opUnary
static variables
length
Perform a unary operation on each entry.