mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
BitField.__vmap
mir
ndslice
field
BitField
optimization for bitwise operations
auto
__vmap
(Fun fun)
auto
__vmap
(Fun fun)
struct
BitField
(Field, I = typeof(cast()Field.init[size_t.init]))
@
optmath
auto
__vmap
(
Fun
:
RightOp
!(
op
,
bool
)
string
op
)
(
Fun
fun
)
if
(
op
== "|" ||
op
== "&"
||
op
== "^"
)
if
(
__traits(
isUnsigned
,
I
)
)
auto
__vmap
(Fun fun)
alias
__map
(
alias
fun
)
=
BitField__map
!(
Field
,
I
,
fun
)
Meta
Source
See Implementation
mir
ndslice
field
BitField
aliases
E
__map
functions
__vmap
assumeFieldsHaveZeroShift
lightConst
lightImmutable
opIndex
opIndexAssign
manifest constants
shift
variables
_field
optimization for bitwise operations