enumap v0.4.0 (2015-09-13T03:07:13Z)
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
==
staticIota
!(0,
EnumMembers
!
K.length
)
)
Meta
Source
See Implementation
enumap
Enumap
constructors
this
functions
byKey
byKeyValue
byValue
opApply
opAssign
opBinary
opDispatch
opIndex
opOpAssign
opUnary
manifest constants
length
Perform a unary operation on each entry.